GNU bug report logs -
#6981
create-animated-image doesn't animate
Previous Next
Reported by: Juri Linkov <juri <at> jurta.org>
Date: Fri, 3 Sep 2010 22:39:01 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 6981 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> jurta.org> writes:
> When looking at the attached animated image closer/farther to/from the screen,
> the face appears/disappears. When looking with/without glasses, the face
> appears/disappears. But when looking at it in Emacs, nothing changes.
Note the following limitation mentioned in the comment in image.c:
/* Clear the part of the screen image that are not covered by
the image from the GIF file. Full animated GIF support
requires more than can be done here (see the gif89 spec,
disposal methods). Let's simply assume that the part
not covered by a sub-image is in the frame's background color. */
The following seems to show the image animation with this limitation
(the black bars of the first frame disappear rather than remaining in
the transparent background of following frames):
(setq img (create-animated-image "~/oii.gif"))
(insert-image img)
(image-animate-start img)
The last line seems to be neccesary, even though create-animated-image
starts the animation itself. Other changes to the buffer contents seem
to stop the animation so that line needs to be evaluated again.
This bug report was last modified 13 years and 360 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.