John Hunter wrote: > On Wed, Jul 29, 2009 at 6:50 PM, Art<grenan...@gmail.com> wrote: > >> My bottleneck now is actually saving the pngs for mencoder to make into an >> avi (as with the movie_demo example on your site) using savefig. Do you also >> know of an alternative way of generating an avi of the animation? My >> animation has about 9000 frames. > > No, I can't imagine there is much fat to trim in that part of the > code. We're using libpng to write the png, so no speedups there > unless you can make the pngs smaller. It looks like we are using a > memory pointer to get the rgba data from agg over to png, so no > speedups there either. Perhaps Michael has some input. Some code > that we could run and test might help produce some further > optimizations. > > JDH
Can libpng be told to write one of the smaller png variants, using a color palette, for example, especially if antialiasing is turned off? For animation I suspect the reduced quality would not hurt much, and the smaller file size would be welcome, potentially yielding a smaller animation file as well. Eric > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users