HDF_DF24_GETINFO procedure retrieves information about the current 24-bit HDF image.
Filename, Width, Height, Interlace
A string containing the name of the file to be read.
A named variable in which the width of the image is returned.
A named variable in which the height of the image is returned.
A named variable in which the interface method is returned. The returned value is 0 for pixel interlacing, 1 for scan-line interlacing, and 2 for scan-plane interlacing.
h = HDF_OPEN('myhdf.hdf')
HDF_DF24_GETINFO, 'myhdf.hdf', width, height, interlace
HELP, width, height, interlace
For a more detailed example, see the file
, located in the
subdirectory of the main IDL directory.