Convert ZX Paintbrush files to GuSprites ZXBasic code
Project description
zxp2gus
Simple script to convert ZX Paintbrush Images (zxp) into basic file for Boriel's ZX Basic and GuSprites sprite library
Requeriments
python 3.7.7 nor higher
pip install -r requeriments.txt
Run
Python locally
Put in paperValues.txt paper value for each tile
python img2zx.py -i tiles.png -p paperValues.txt -o tiles.bas
Docker
docker run -it -u $(id -u):$(id -g) -v ${PWD}:/share rtorralba/img2zxbasic -i /share/tiles.png -p /share/paperValues.txt -o /share/tiles.bas
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
zxp2gus-0.2.tar.gz
(6.0 kB
view details)
Built Distribution
zxp2gus-0.2-py3-none-any.whl
(7.0 kB
view details)
File details
Details for the file zxp2gus-0.2.tar.gz
.
File metadata
- Download URL: zxp2gus-0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afa02a2cbcda63238c2283a502745dd5df44d7490a71265c419e74cd19a2c606 |
|
MD5 | a14c94999c1f7a9f5021134c9f6b3315 |
|
BLAKE2b-256 | d50ff32f64f21220163b578ad83011b83fe375e00c33c542cceab03c04d88758 |
File details
Details for the file zxp2gus-0.2-py3-none-any.whl
.
File metadata
- Download URL: zxp2gus-0.2-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3197b902436ad0cb2b35ed40e7d553f59c80cf7fc5b4fe282a2c9e26fda9cc0 |
|
MD5 | 9e1c808aea12e6176d3cd9b9d9c5b1df |
|
BLAKE2b-256 | ee4662b8ed63019cfbee05c28cc79e35b144bcf8a3fbf1df916250db8423d385 |