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

Home » Public Forums » archive » Is it possible to save the figure file in .PNG format directly in IDL?
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: Is it possible to save the figure file in .PNG format directly in IDL? [message #90361 is a reply to message #90349] Wed, 25 February 2015 18:25 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Wednesday, February 25, 2015 at 3:27:52 AM UTC-6, Madhavan Bomidi wrote:
> Hello,
>
> I am using Coyote library in IDL. Is there a direct way to save the figure file in .PNG format instead of saving first in .PS format and then converting to a .PNG format?
>
> cgPS_Open, FigFile
>
>
> cgPS_Close
> cgPS2Raster, FigFile, /PNG
>

There are options that can control what happens to the PS file, if that's your concern.

The question is _why_ you don't want the PS file first.

While we're here, this is a little more succinct:

cgPS_Open, FigFile
...
...
cgPS_Close, /PNG

which calls cgPS2Raster under the hood.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: star symbol in labels??
Next Topic: interpolate 3D matrix

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

Current Time: Wed Oct 08 20:05:27 PDT 2025

Total time taken to generate the page: 0.14633 seconds