Step: 1: Download these 3 programs
You need DeflOpt.exe, pngcrush.exe, and pngout.exe. If my link died, google for these 3.
Step 2: Put them somewhere you can remember.
Step 3: Open slade and go to EDIT. Click on preferences.
Step 4: Open the GRAPHICS tab and click on PNGS. Give slade the location of the 3 programs you just downloaded.
Step 5: Get a png (paletted or truecolor both work, but read the notes below), and open the context menu (mouse2), go to GRAPHIC, and click on OPTIMIZE PNG.
Step 6: Slade has to run 3 programs on this little PNG, so doing a whole folder can take some time. It's worth the filesize savings though.
Step 7: ???
Step 8: PROFIT!
Misc. Notes:
-You can easily save MEGABYTES on wad filesize by optimizing sprites,graphics,and textures like this. Pictures don't compress in the zip format nearly as well as music and maps do.
-Sometimes big truecolor pngs get screwed up with a white background replacing the transparency. I haven't found a workaround, so these cannot be compressed.
John Zombie wrote:That's because zandronum(zdoom?)'s PNG implementation is shitty and doesn't support tRNS chunks in truecolor images for whatever reason, excluding pngout should be enough as a workaround(the optimization won't be as effective, but better than nothing I guess)