On 1/12/2011 11:31 AM, Puneet Kishor wrote: > > On Wednesday, January 12, 2011 at 11:22 AM, Mathieu Alorent wrote: > >> Le mercredi 12 janvier 2011 à 16:38 +0100, Ingo Schmid a écrit : >>> I had success with using wpic then convert (imagemagick) to create a >>> movie-like stack of images. I think I used pngs or jpgs to create an >>> mpeg. Sorry I don't remember exactly, but it was surprisingly easy. >> >> Thanks for your response. >> >> This is what I've done before my question. >> >> => wpic -> then read it with imagemagick -> wpic -> imagemagick -> gif >> >> But this consume lots of memory and disk I/O :( >> >> I plan to do like Doug has proposed: >> wpic several images and then use gifsicle to generate a >> compressed/optimized animated gif. >> > > > It would be really nice if PDL::IO::GD supported this directly. > That said, I've had personal issues with PDL::IO::GD, so I myself > am not using it... to paraphrase Larry Wall, in spite of having > an uzi, I am using it as a club... I loop over my piddle and use > plain GD. Anyway, that is another story. > > Definitely, replacing all the wpic/imagemagick Rube-Goldberesque > processing with a simple PDL call would be. > > use PDL::FancyGraphics; > $three_d_piddle->animated_gif(); > > where the third dimension is time.
There is also wmpeg which allows you to generate an MPEG video from a pdl. --Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
