<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

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.

topshowimage 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 325 2007-12-06 10:04:53Z pinsard $

History

Known issues

Restrictions

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

Statistics

McCabe cyclic 34
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.