Displays an image associative array.
IMAGE_DISPLAY, image [, position]
x, y
position
Delay
Quiet
Sub_Img
Window
Device
Normal
The following keywords are only used if a new window is created; they are ignored if you use Wset and the window exists.
Bitmap
TIP: For cross-platform portability, use the Pixmap keyword instead of the Bitmap keyword.
NOTE: The Colors keyword has an effect only if it is supplied when the first window is created; otherwise, PV-WAVE uses all of the available color indices.
Pixmap
Retain
Title
/Title
), then the window title is the COMMENTS field of the image.XPos
XSize
YPos
YSize
On systems where the display depth is eight or less (for example, when !D.Display_Depth
Colors=256
when creating the first window.
NOTE: The IMAGE_DISPLAY procedure generates errors, and/or will display some or all of an image outside of the window, if the window size and image position are improperly selected.
NOTE: Color tables associated with the image are loaded when the image is displayed. This behavior may cause the colors in other windows to appear altered.
pixels = BYTARR(100, 200)
cmap = BYTARR(3, 50)
image = IMAGE_CREATE(pixels, File_name = $ 'test.tif', Colormap = cmap, $ File_type = 'tif') IMAGE_DISPLAY, image; The image is displayed as a black image.