Hi folks. IrfanView does a good job saving png files, especially with the PNGout plugin. But for all of you who want to squeeze out the max of PNG compression, here is "the ultimate guide to PNG optimisation"
I wrote a little batch script, that uses several different external PNG converters. They are all freeware and I want to collectively thank the authors for doing such a good job and sharing their work with us. When you run the batch file, you will see the names of the converters displayed and most converters also display the author's name, so that they get the credit they deserve.
You use my batch file like this:
The script first tells you how your png file is structured (chunks, etc.). Then it tells you how many unique colors are currently used. You can then choose a desired amount of colors if you wish (that's the only lossy part of the opimisation, but optional) ... comes in very handy if one wants ultimate compression ... Then you can choose which PNG chunks to delete and which to keep. And then the different converters are used. Each tool has its own individual strengths and therefore the order in which they are executed is crucial.
Installation: You only have to extract the .zip file to any directory. But you also have to install ImageMagick (which is responsible for the optional color reduction) http://www.imagemagick.org/script/bi...es.php#windows
Finally you have to edit the script in line 3, where you have write the paths that you choose for the batch script and ImageMagick. That's it.
caveats:
1) Normally long file names+paths are supported. But sometimes I get errors, when they are too long. There will be red text when that occurs. I still have to fix the script. If you want to make absolutely sure, keep filenames and paths rather short.
2) when running the script, you are asked which chunks to delete and which to keep. Unfortunately some converters used subsequently in the script just delete all unnecessary chunks, so for the moment you will loose these chunks. One day I have to change that somehow ...
So, I hope you have fun with it ...
Obviously the usual conditions apply, i.e. you can do whatever you want with it. And I deny the usual stuff, i.e. any responsibility for anything, including fitness for a particular purpose, or any damages resulting from the use of the script, whether directly or indirectly, etc. bla bla And as I said, the external converters are freeware and not written by me. So here we go:
Here is the package (script+optimizers):
I wrote a little batch script, that uses several different external PNG converters. They are all freeware and I want to collectively thank the authors for doing such a good job and sharing their work with us. When you run the batch file, you will see the names of the converters displayed and most converters also display the author's name, so that they get the credit they deserve.
You use my batch file like this:
pngopti [IMAGE] [-EXTREME]
both parameters are optional. "Image" is the input image. Currently supported are: GIF, TIF(F), JP(E)G, BMP, PNM, TGA, PCX. If "image" is not specified, the batch script takes the clipboard content as input. The "-extreme" switch uses the most extreme parameters for the converters, so that they try every optimisation method, but it takes a lot longer and it's very rare that the output file is smaller than withouth the "-extreme" switch.
both parameters are optional. "Image" is the input image. Currently supported are: GIF, TIF(F), JP(E)G, BMP, PNM, TGA, PCX. If "image" is not specified, the batch script takes the clipboard content as input. The "-extreme" switch uses the most extreme parameters for the converters, so that they try every optimisation method, but it takes a lot longer and it's very rare that the output file is smaller than withouth the "-extreme" switch.
Installation: You only have to extract the .zip file to any directory. But you also have to install ImageMagick (which is responsible for the optional color reduction) http://www.imagemagick.org/script/bi...es.php#windows
Finally you have to edit the script in line 3, where you have write the paths that you choose for the batch script and ImageMagick. That's it.
caveats:
1) Normally long file names+paths are supported. But sometimes I get errors, when they are too long. There will be red text when that occurs. I still have to fix the script. If you want to make absolutely sure, keep filenames and paths rather short.
2) when running the script, you are asked which chunks to delete and which to keep. Unfortunately some converters used subsequently in the script just delete all unnecessary chunks, so for the moment you will loose these chunks. One day I have to change that somehow ...
So, I hope you have fun with it ...
Obviously the usual conditions apply, i.e. you can do whatever you want with it. And I deny the usual stuff, i.e. any responsibility for anything, including fitness for a particular purpose, or any damages resulting from the use of the script, whether directly or indirectly, etc. bla bla And as I said, the external converters are freeware and not written by me. So here we go:
Here is the package (script+optimizers):
Comment