HDF_DFR8_NIMAGES

The HDF_DFR8_NIMAGES function returns the number of 8-bit images in the specified Hierarchical Data Format file. A -1 is returned if the specified file is invalid or damaged.

Calling Sequence

Result = HDF_DFR8_NIMAGES( Filename )

Arguments

Filename

A string containing the name of the file to be read.

Example

h = HDF_OPEN('myhdf.hdf') ; Open the file myfile.hdf.

number = HDF_DFR8_NIMAGES('myhdf.hdf') ; Retrieve the number of 8-bit images in the file into the variable number; .

HDF_CLOSE, h ; Close the file.

See Also

HDF_DFR8_GETIMAGE , HDF_DFR8_GETINFO , HDF_DFR8_READREF