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 #90351 is a reply to message #90349] Wed, 25 February 2015 05:55 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Madhavan Bomidi writes:

> 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

cgPlot, data, Output='myfile.png'

You can find the on-line help for these routines here:

http://www.idlcoyote.com/idldoc/cg/index.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[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 13:49:11 PDT 2025

Total time taken to generate the page: 0.00446 seconds