Undo OptimizeTransLayer in gifs
Posted: 2012-10-11T09:45:47-07:00
Hi, I'm looking at the RMagick documentation for ImageList, under method "optimize_layers", one of the options is:
OptimizeTransLayer
Given a GIF animation, replace any pixel in the sub-frame overlay images with
transparency, if it does not change the resulting animation by more than the
current fuzz factor. This should allow a existing frame optimized GIF animation
to compress into a smaller file size due to larger areas of one (transparent)
color rather than a pattern of multiple colors repeating the current disposed
image of the last frame.
I'm trying to go backwards - that is, take a gif image that has this optimization, and extract out its frames in full. Is there an easy way to reverse this with ImageMagick?
Link to ImageList: http://www.imagemagick.org/RMagick/doc/ilist.html
OptimizeTransLayer
Given a GIF animation, replace any pixel in the sub-frame overlay images with
transparency, if it does not change the resulting animation by more than the
current fuzz factor. This should allow a existing frame optimized GIF animation
to compress into a smaller file size due to larger areas of one (transparent)
color rather than a pattern of multiple colors repeating the current disposed
image of the last frame.
I'm trying to go backwards - that is, take a gif image that has this optimization, and extract out its frames in full. Is there an easy way to reverse this with ImageMagick?
Link to ImageList: http://www.imagemagick.org/RMagick/doc/ilist.html