Metadata-Version: 2.1
Name: zxp2gus
Version: 0.1
Summary: Convert ZX Paintbrush files to GuSprites ZXBasic code
Home-page: https://github.com/rtorralba/zxp2gus
Author: Raül Torralba
Description-Content-Type: text/markdown

# zxp2gus

Simple script to convert ZX Paintbrush Images (zxp) into basic file for [Boriel's ZX Basic](https://zxbasic.readthedocs.io/en/docs/) and [GuSprites](https://github.com/gusmanb/GuSprites) sprite library

### Requeriments
python 3.7.7 nor higher

```bash
pip install -r requeriments.txt
```

### Run

#### Python locally
Put in paperValues.txt paper value for each tile

```bash
python img2zx.py -i tiles.png -p paperValues.txt -o tiles.bas 
```
#### Docker
```bash
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
```
