comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Student vs. normal version
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Student vs. normal version [message #46526 is a reply to message #46452] Thu, 24 November 2005 13:35 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <1132848333.541287.60610@o13g2000cwo.googlegroups.com>,
nmd.oliveira@gmail.com wrote:

> Do you save 3D variables in the PNG format? (As an alternative to make
> scientific "movies"?)
> If I try to pass a 3D var to the WRITE_PNG routine I get this error
> message:
>
> % WRITE_PNG: Image array must be (n,m) or (1-4,n,m).
>
> I see the in the reference guide (pag.2523) that they refer the
> possibility of saving a 3D variable, but I can't see how.

By 3-D do you mean 24-bit?

This works for me

IDL> plot, sin(findgen(10))
IDL> write_png, 'test.png', tvrd(true=1)

For some reason PNGs need to be interleaved over the first dimension.

To make movies I write a series of PNGs and use QuickTime to convert to
a movie.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Large array memory problem.
Next Topic: Re: Pointer Type Question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:16:42 PDT 2025

Total time taken to generate the page: 1.44021 seconds