* src/image.c (imagemagick_load_image): Add delay to imagemagick metadata.

(Bug#10747, bug#18334)
This commit is contained in:
Juri Linkov 2014-09-18 23:59:55 +03:00
parent 46b189d794
commit 3a449b759c
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-09-18 Juri Linkov <juri@jurta.org>
* image.c (imagemagick_load_image): Add delay to imagemagick metadata.
(Bug#10747, bug#18334)
2014-09-18 Eli Zaretskii <eliz@gnu.org>
* frame.c (Fmouse_position, Fset_mouse_position): Clarify the

View file

@ -8232,6 +8232,12 @@ imagemagick_load_image (struct frame *f, struct image *img,
return 0;
}
if (MagickGetImageDelay (image_wand) > 0)
img->lisp_data =
Fcons (Qdelay,
Fcons (make_float (MagickGetImageDelay (image_wand) / 100.0),
img->lisp_data));
if (MagickGetNumberImages (image_wand) > 1)
img->lisp_data =
Fcons (Qcount,