Previous SAXO Documentation Assistant: Overview Next

Picture/

showimage.pro

Show the contents of a graphics file in the current window. The input formats supported are: GIF 8-bit with color table, BMP 8-bit with color table or 24-bit true-color, PICT 8-bit with color table, TIFF 8-bit with color table or 24-bit true-color, JPEG 24-bit true color, Any conversions necessary to translate 8-bit or 24-bit files to 8-bit or 24-bit images on-screen are done automatically.

showimage Input/Output.

showimage, FILE, DITHER=DITHER, CURRENT=CURRENT

Parameters

FILE        in required

Name of the output file (format is identified automatically).

Keywords

DITHER        default: no dithering

Set this keyword to dither the input image when displaying 24-bit images on an 8-bit display.

CURRENT       

Set this keyword to display the image in the current window (default is to create a new window sized to fit the image).

Examples

$ IDL> showimage, filepath('rose.jpg', subdir='examples/data')

Version history

Version

$Id: showimage.pro 136 2006-07-10 15:20:19Z pinsard $

History

Liam.Gumley@ssec.wisc.edu http://cimss.ssec.wisc.edu/~gumley This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Known issues

Restrictions

The color table is modified. Requires IDL 5.2 or higher (image QUERY functions).

 


  Produced by IDLdoc 2.0 on Tue Aug 29 14:49:31 2006.