#11313: Animated GIF plots should repaint bgcolor after each frame
------------------------+---------------------------------------------------
Reporter: kini | Owner: jason, was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: graphics | Keywords: plot, animate, imagemagick
Work_issues: | Upstream: N/A
Reviewer: | Author: Keshav Kini
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by kini):
This is a defect, not an enhancement, ticket, so I don't consider
potential slowdown to be a problem with the patch. That aside, ImageMagick
is written in C and is pretty fast. If `animate` is slow it's probably
because Sage needs to create every frame separately before using
ImageMagick to put them together. I doubt this patch introduces any
slowdowns.
To elaborate on what makes this a defect: when you create an animation,
Sage first creates a bunch of frames, then uses ImageMagick to make an
animated GIF out of them. If the frames are not all the same size, then
ImageMagick determines the minimum size for the final GIF in which it is
possible to accommodate all the frames. The default behavior is to simply
draw frame `n` over frame `n-1` without erasing frame `n-1`. When frame
`n`'s image is smaller than frame `n-1`'s image, however, you get garbage
in frame 'n' outside the borders of the original image used to create
frame 'n'.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11313#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.