yuv422 / png2tile

Convert PNG images into Sega Master System tile format
MIT License
24 stars 5 forks source link

Return non-zero when an error occurs. #6

Closed raphnet closed 2 years ago

raphnet commented 2 years ago

When using png2tile from a Makefile or shell script, this is useful for stopping the build when there is a problem (for instance, when the artists sends an non-index image by mistake)

yuv422 commented 2 years ago

Great, thanks for adding this. Looking at those errors messages. I really should be outputting them to stderr.