Although all the examples in the Readme file used gzip, I have found that gzip is not necessary.
I started with an 8192x4096 PNG file generated by Photoshop, and ended up with some VT tiles in four levels. Here are the simple scripts that I wrote to do this:
8k.bat
Code: Select all
png2bin.exe < %1 | txtiles 4 8192 3 9
4k.bat
Code: Select all
png2bin.exe < %1 | tx2half.exe 4 8192 | txtiles.exe 4 4096 2 9
2k.bat
Code: Select all
png2bin.exe < %1 | tx2half.exe 4 8192 | tx2half.exe 4 4096 | txtiles.exe 4 2048 1 9
1k.bat
Code: Select all
png2bin.exe < %1 | tx2half.exe 4 8192 | tx2half.exe 4 4096 | tx2half.exe 4 2048 | txtiles.exe 4 1024 0 9