summaryrefslogtreecommitdiff
path: root/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c
index 57f9b7735b..4b73a5fe80 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8231,6 +8231,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,