Skip to content

Simple script to convert raster images (bmp, png, gif...) into assembly files for zx spectrum tilesets

Notifications You must be signed in to change notification settings

compilersoftware/img2zx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2zx

Simple script to convert raster images (bmp, png, gif...) into assembly files for ZX Spectrum tilesets.

Can be run locally or using a Docker container (img2zx.dk).

Run img2zx.py or img2zx.dk to see usage instructions.

For attributes file, here is the color table:

Bright Color Binary
NO Black 0000
NO Blue 0001
NO Red 0010
NO Magenta 0011
NO Green 0100
NO Cyan 0101
NO Yellow 0110
NO White 0111
YES Black 0000
YES Blue 0001
YES Red 0010
YES Magenta 0011
YES Green 0100
YES Cyan 0101
YES Yellow 0110
YES White 0111

File format is 8 bits: IIIIPPPP (I for ink, P for paper), one decimal number per character.

About

Simple script to convert raster images (bmp, png, gif...) into assembly files for zx spectrum tilesets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • Dockerfile 2.4%
  • Shell 2.3%