Re: Student vs. normal version [message #46530 is a reply to message #46452] |
Thu, 24 November 2005 08:40   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Nuno Oliveira writes:
> When Kenneth Bowman refered to PNG as alternative to MPEG for
> scientific movies I thought we were talking about a collection of
> images (in my case 360).
>
> (I already read your "Scientific Animations in IDL" but for a moment I
> thought PNG format could a solution. My solution for animations is the
> gif format for know...)
Well, I think the idea is to create 360 PNG files, and
animate them by using something *other* than IDL to stitch
them into a movie. You can create your PNG files by doing
something like this:
FOR j=0,359 DO BEGIN
filename = 'file' + String(j, Format='(I3.3)') + '.png'
Write_PNG, filename, Reform(array[j,*,*],199,101)
ENDFOR
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|