#16571: APNG (Animated PNG) for animations
---------------------------+-------------------------------------
   Reporter:  gagern       |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-6.3
  Component:  graphics     |         Keywords:
  Merged in:               |          Authors:  Martin von Gagern
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:  #16533, #16570
   Stopgaps:               |
---------------------------+-------------------------------------
 Currently the creation of animations depends on external tools: either
 [http://www.imagemagick.org ImageMagick] or [http://www.ffmpeg.org FFmpeg]
 must be available. Either of these can be used to assemble a sequence of
 PNG frames into a GIF animation. However, GIF is a very limited format,
 and the conversion (I guess mostly the color reduction) takes time and
 costs quality.

 A more modern alternative would be
 [https://wiki.mozilla.org/APNG_Specification APNG]. It's an extension of
 the PNG standard. One drawback is that only [http://caniuse.com/#feat=apng
 some browsers support it]. The others would show the first frame of the
 animation as still image instead. (We could later extend the code so one
 can specify any image of equal size to be used as fallback.)

 Assembling multiple PNG files into a single animation is fairly simple. In
 fact so simple that it can be accomplished without using any external
 libraries at all. I wrote such an implementation while working on #16533
 and would like to offer it here for inclusion.

 The branch I'm going to append uses commits from #16533 and #16570, so if
 those get merged before, you will have less to review here.

--
Ticket URL: <http://trac.sagemath.org/ticket/16571>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to