Skip to main content

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.1.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

zxp2gus-0.1-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file zxp2gus-0.1.tar.gz.

File metadata

  • Download URL: zxp2gus-0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for zxp2gus-0.1.tar.gz
Algorithm Hash digest
SHA256 ef6e7a3e86f0167e30833e34d94389e437fd1f8b54d3e255516aa055b891f321
MD5 12bced54936ad7436940035fca4f4ab5
BLAKE2b-256 c4e34fb3fad25caaaa8ad9d510de10b231d86d362948fc45e504d90af2d6e66e

See more details on using hashes here.

File details

Details for the file zxp2gus-0.1-py3-none-any.whl.

File metadata

  • Download URL: zxp2gus-0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for zxp2gus-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f834f63a79586f3baaa12826974ddf6a59e62facfbb3e91679c85b6f79017d67
MD5 6b30a988cf1672dccc9bdfb9932bb4ed
BLAKE2b-256 d20b793fe938d3a0bcd481ede3592996d1f7f9441ca69d32707fa00edac29163

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page