Reads an image file and returns an associative array in image format.
NOTE: Multiple images being read with the IMAGE_READ function must all be of the same height, width, and class. If a file contains images of different heights, widths, and/or classes, only the first contiguous sequence with equal height, width, and class are read.
File_Type
Intleave
pixel
) Valid strings and the corresponding interleaving methods are:
'image'
'row'
'pixel'
NOTE: The Img_Count keyword is ignored if the All_Subimages keyword is set.
Quiet
Sub_Img
NOTE: If Sub_Img is used to request a subimage that is not in the image file, the status key of the returned image associative array is set to a negative number.
Verbose
NOTE: Refer to the IMAGE_CREATE function for detailed information on the structure of the image associative array.
NOTE: FiletypeTGA
does not have an encoded ID number. To read this type of file you must specify the File_type keyword or filename must have a.tga
suffix.
flowers = IMAGE_READ('flowers.tif')