yuv422 / png2tile

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

Add -compress option for compressing binary output. #5

Closed Slipyx closed 5 years ago

Slipyx commented 5 years ago

This adds a -compress option for compressing binary output files. It uses STM compression by sverx for Tilemaps and PSGaiden compression by maxim for Tile data. I included the original compressor sources from BMP2Tile and modified them for statically building. Using -compress also implies -binary and prints a warning message if it wasn't also specified. Also added some verbosity by printing the current filename being processed as well as file size results when using compression.

Comments / suggestions are welcome. Thanks.