This function retrieves the number of pixel components, data type, interlace mode, and number of color lookup table entries of the palette identified by the parameter pal_id.
Syntax
Result = HDF_GR_GETLUTINFO(pal_id, ncomp, data_type, interlace_mode, num_entries)
Return Value
Returns SUCCEED (0) if successful or FAIL (-1) otherwise.
Arguments
pal_id
Palette identifier returned by HDF_GR_GETLUTID.
ncomp
A named variable in which the number of components in the palette is returned.
data_type
A named variable in which the HDF data type of the palette is returned.
interlace_mode
A named variable in which the interlace mode of the stored palette data is returned.
- 0 = Pixel interlace
- 1 = Line interlace
- 2 = Component interlace
num_entries
A named variable in which the number of color lookup table entries in the palette is returned.
Keywords
None
Version History