>  Docs Center  >  Libraries  >  Daithi  >  PNG_WRITE

PNG_WRITE

PNG_WRITE

Name


    PNG_WRITE.PRO

Purpose


    Write out the contents of the currently active window as a .png
    file. If PNG_START is called before the graphics are generated
    the current device will be the z-buffer.

Category


    Graphics

Calling Sequence


    PNG_WRITE

Keyword Parameters


    FILE: set this to your preferred filename. "idl.png" is the default.
    NO_X: Do not set the display device to x when finished. If you
            do not have a valid xdisplay setting the display to "x"
            causes an error.

Outputs


    Writes a file.

Side Effects


    Sets the graphics device to 'x' upon completion.

Example


    PNG_Write, FILE='/home/ewiebe/mypath/myfile.png'

Modification History


  Written by: Edward C. Wiebe, 2002-01-29.
      Modified: Edward C. Wiebe, 2002-04-29 (added NO_X)



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us