A program for generating runescape-chat-like images of text.
Project description
runescape-text
Generates a gif of text based on runescape chatbox effects
If you long for the days of selling your rune scimmy:
python runescapetext.py wave:glow1:This will generate a convincing replica
Or as an import:
import runescape_text as rst
img = rst.parse_string("wave:glow1:Hello World")
if(len(img)==1):
rst.single_frame_save(img[0], file="out.png")
else:
rst.multi_frame_save(img, file="out.gif")
A Discord bot implementing this has been broken out into a seperate repository. Find it here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
runescape-text-1.1.0.tar.gz
(8.3 kB
view details)
Built Distribution
File details
Details for the file runescape-text-1.1.0.tar.gz
.
File metadata
- Download URL: runescape-text-1.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.48.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c978954bc974bb86a9bd4616be12f71e84de8bbcab361c317d6fedbf66cd4ec6 |
|
MD5 | c92793a75c96d83d85d94bfb8cf36a92 |
|
BLAKE2b-256 | 5b7076e87d151441e9d616a8f1740d3bc644cd09d9512efff7d887558e764809 |
File details
Details for the file runescape_text-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: runescape_text-1.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.48.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d91e9e20cadfd5bded176f316298de9e996c05e4949d270a147a372dd994a3c9 |
|
MD5 | 4f8540535dbb0ad11abb66bcad1af49c |
|
BLAKE2b-256 | 81e75474e25c034ff9058a177d09d014168399420362613b11fdfecb36367b25 |