The
HDF_DFR8_SETPALETTE procedure sets the current
palette to be used for subsequent images in a Hierarchical Data Format file. The current palette will be used when adding images with the HDF_DFR8_ADDIMAGE routine.
Calling Sequence
HDF_DFR8_SETPALETTE,
Palette
Arguments
Palette
A 768-element byte array of palette data. This array be a vector (e.g.,
BYTARR(768)
) or a two-dimensional array (e.g.,
BYTARR(3, 256)
).
Set the
Palette
array to the integer zero to set the current palette to no palette.