Simple script to convert raster images (bmp, png, gif...) into basic file for Boriel's ZX Basic and GuSprites sprite library
Project based on img2zx de Augusto Ruiz, and just adapted its output.
python 3.7.7 nor higher
pip install -r requeriments.txt
Put in paperValues.txt paper value for each tile
python img2zx.py -i tiles.png -p paperValues.txt -o tiles.bas
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