4 ms·
Nice app. I use pngout from the command line, so this might save me some typing. Feature suggestion: Tell me which of the 4 compressors gave the best result.
by chaosmachine 17y ago
Nice app. I use pngout from the command line, so this might save me some typing.
Feature suggestion: Tell me which of the 4 compressors gave the best result.
Also, since the point of testing 4 png compressors is to get the smallest size possible, why not use "smallest" as the default setting?
- meese_ 17y agoFeature suggestion: Tell me which of the 4 compressors gave the best result. This is a good idea, but I can't technically do this currently. The compressors are run one after another (it's essentially like "pngcrush infile outfile && optipng outfile && advpng outfile && pngout outfile"), so there is no real "best result", it just gets a bit smaller each time. Also, since the point of testing 4 png compressors is to get the smallest size possible, why not use "smallest" as the default setting? That's a good point, I've just committed the change :) Thanks for the suggestions!
- fhars 17y agoHave you tested that the sequence is optimal? What if pngcrush changes the image in a way that will make on of the later steps miss it's most promising optimization? Oh the joys of combinatorial explosion...