question about zooming gif with MagickWand API

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Posts: 17
Joined: 2012-07-05T02:34:18-07:00
Authentication code: 13

question about zooming gif with MagickWand API

Post by zhcn381 »

hi maigck,

I have a question about zooming gif with MagickWand API.

I have a gif.
I want to do resize on its first frame.
I want the output is jpeg.
So I do these:

Code: Select all

Then the program core dumped.
Then I read some code and I noticed that MagickResizeImage() will call ReplaceImageInList(). So the output image will still have multiple frames. But the first frame's magick is JPEG and others are still GIF. And the adjoin flag is true. So it will core?
Temporarily I use MagickGetImageBlob() instead of MagickGetImagesBlob() to work around this. Is there any other way to achieve this? Pls help me out. Thx.
Post Reply