There's still some problems with background color settings, though.
Fixes: debbugs:14700
2013-08-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * image.c (imagemagick_load_image): Make animated pictures work.
+ There's still some problems with background color settings, though
+ (bug#14700).
+
* decompress.c (unwind_decompress): Always restore point.
2013-08-14 Paul Eggert <eggert@cs.ucla.edu>
goto imagemagick_error;
}
+ /* If we have an animated image, get the new wand based on the
+ "super-wand". */
+ if (ino > 0)
+ {
+ MagickWand *super_wand = image_wand;
+ MagickSetIteratorIndex (super_wand, ino);
+ image_wand = MagickGetImage (super_wand);
+ DestroyMagickWand (super_wand);
+ }
+
/* Retrieve the frame's background color, for use later. */
{
XColor bgcolor;