Re: Reduce gif file size (tried optimize, optimizePlus, deconst)
Posted: 2009-03-17T16:13:11-07:00
I talk about animation and optimization and tools that compress images whcih have already been saved to GIF format generally does so in two ways.
The first is to use various forms of compression optimization. Basically they convert any or only some pixels that did not change from the previous frames to transparency. This lets you get longer runs or areas of transparency which compresses better than a random sequence of color pixels.
The results from vary enormously from program to program, as they implement different ways of selecting what pixels should be made transparent.
The second is more evasive. they not only replace colors that do NOT change, but also colors that only change slightly! That is the results will not be an exact match to the original animation but have small usually un-noticeable color changes.
For more information look at my notes in IM Example Usage, Compression Optimization
http://www.imagemagick.org/Usage/anim_opt/#compress_opt
If the data has NOT yet been converted to GIF then you have more areas of optimization, including color reductions, Frame Optimization, and even optimizations involving adding extra frames to the animation sequence!
See the rest of the page referenced by the above link.
Finally color reductions usually involve dither and how you dither the color can make a BIG difference to the GIf compression you get. See the page on Video Handling for one example of this.
http://www.imagemagick.org/Usage/video/#gif
Now I'll have a look at what you have provided!
The first is to use various forms of compression optimization. Basically they convert any or only some pixels that did not change from the previous frames to transparency. This lets you get longer runs or areas of transparency which compresses better than a random sequence of color pixels.
The results from vary enormously from program to program, as they implement different ways of selecting what pixels should be made transparent.
The second is more evasive. they not only replace colors that do NOT change, but also colors that only change slightly! That is the results will not be an exact match to the original animation but have small usually un-noticeable color changes.
For more information look at my notes in IM Example Usage, Compression Optimization
http://www.imagemagick.org/Usage/anim_opt/#compress_opt
If the data has NOT yet been converted to GIF then you have more areas of optimization, including color reductions, Frame Optimization, and even optimizations involving adding extra frames to the animation sequence!
See the rest of the page referenced by the above link.
Finally color reductions usually involve dither and how you dither the color can make a BIG difference to the GIf compression you get. See the page on Video Handling for one example of this.
http://www.imagemagick.org/Usage/video/#gif
Now I'll have a look at what you have provided!