You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Mathematica 7 allows advance processing of graphics. I have used it to convert a series of PNG plots from root to this animated movie (~30MB) .

A minimal sufficient code is here:


path = "/Users/balewski/Desktop/outMovie/frame.png";
imgL = {};
For[i = 1, i < 95, i++, (* buil list of images *)
name = StringInsert[path, ToStringi, -5];
img = Importname;
imgL = AppendimgL, img
];
M4 = ListAnimateimgL (* build in-memeory animation *)
Export"/Users/balewski/Desktop/jasM4b.avi", M4, "avi" (* export animation *) ----
It is very slow, the last line - doing the 3 sec long movie - took an hour+.

Here is full "Mathematica Notebook" with working example, also show below as PDF.


Error rendering macro 'viewpdf'

com.atlassian.confluence.macro.MacroExecutionException: com.atlassian.confluence.macro.MacroExecutionException: The viewfile macro is unable to locate the attachment "fotoAnimate2.pdf" on this page

  • No labels