Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

Accessing Image Files Using Dialogs


Selecting an Image File

The DIALOG_READ_IMAGE function is a graphical user interface which is used for reading image files. This interface simplifies the use of IDL image file I/O. Users are able to preview images with a quick and simple browsing mechanism which will also report important information about the image file. The user has the option to view the image in color, grayscale, or no preview.

Result = DIALOG_READ_IMAGE( )
 

Button
Function
Open
Opens the selected image file.
Cancel
Cancels the current image selection.
Arrow Keys
Pages through multiple images in the file.

Saving an Image File

The DIALOG_WRITE_IMAGE function is a graphical user interface which is used for writing/saving image files. This interface simplifies the use of IDL image file I/O.

myimage = DIST(100) 
result = DIALOG_WRITE_IMAGE(myimage, FILENAME='myimage.tif') 
 

Button
Function
Save
Saves the image file.
Cancel
Cancels the save function.
Options
Brings up a dialog box of image format save options.


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]