问题
Does the ImageMagick for iOS support converting jpeg images to GIF? How to do that?
回答1:
Apparently, ImageMagick does support GIF creation on iOS, even though their website clearly states it only supports png, jpeg and tiff on iOS. I haven't found any source of this worth linking and the other link mentioned below is no longer existing, so good luck with that.
回答2:
GIFS are "inherently supported in ImageMagick", according to comments here.
This article describes how to export an animated GIF from UIImage source using ImageMagick on iOS that you can use as a starting point.
MagickWand *mw = NewMagickWand();
MagickSetFormat(mw, "gif");
来源:https://stackoverflow.com/questions/6994110/does-the-imagemagick-for-ios-support-converting-jpeg-images-to-gif