HDFLCT Procedure
Loads an HDF palette as a PV‑WAVE color table.
Restriction: See "Supported Platforms Guide" on the PV-WAVE Documentation website to check if this function is available on your operating system.
Usage
-
HDFLCT, palette
Input Parameters
palette—A byte array containing the HDF palette to load into PV‑WAVE.
Keywords
Help—If present and nonzero, lists the usage for this routine.
Usage—If present and nonzero, lists the usage for this routine. (Same as the Help keyword.)
Discussion
HDFLCT allows direct loading of an HDF palette into PV‑WAVE when displaying HDF Raster 8 images.
Example
hdf_init @hdf_common testfile = !Data_dir + '/raster8.hdf' status = HDFGETR8 (testfile, image, palette) IF (status EQ FAIL) THEN MESSAGE, 'HDFGETR8 failed.' HDFLCT, palette TV, image
See Also
For more information on using the HDF interface and the calling sequence for the entire suite of HDF base functions, refer to PV-WAVE HDF Interface.
For a complete list of the HDF convenience routines, refer to Functional Summary of Routines.