Is there a PngQuant implementation available for Xojo? I’d like to make myself a one-trick-pony to do PngQuant and 1x/2x images with a more simple workflow than AppleScript/RetroBatch and it’s clunky interface.
MBS has a PNG optimiser class. It isn’t lossy like PNG Quant but it can shrink the file size.
1 Like
Thanks! I’ll check that out.
PngQuant is way better than PngOptimizer.
The 2 images with screenshot… are the original images. In Batch Result I have the images I make with RetroBatch and the images starting with optimize… are from PngOptmizer:
PNGQuant produces smaller files but you don’t get the original pixels back when you decode the PNG (which may or may not be important).
You could maybe use the Xojo Shell with the PNGQuant command line tools at: https://pngquant.org/
Yes, using shell with PngQuant is a good idea. The code is GPL but this doesn’t matter because it’s going to be only for me or I’ll make the project available.