hi
I'm reading a gif picture,
and I found that the first frame is the same size with what I saw in the property of the gif picture(for example 128X128), but the second frame is different(for example 99X110), so does the third frame;
so, I want to get all frames of the gif picture, and I also want all the frames are the same size with the first frame
there is a function called "CoalesceImages", I tried it , it does do what I want to,
but, Is this method right?, Is there ant other better method?
thanks!
a problem with gif frames size.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: a problem with gif frames size.
animation files are not individual full frames, but updates, as far as I know. so you need to use -coalesce to recomposite them properly for viewing/extracting. So yes, you need to use -coalesce. Sorry I am not familiar with the API version.
See http://www.imagemagick.org/Usage/anim_basics/#coalesce
See http://www.imagemagick.org/Usage/anim_basics/#coalesce