Previous Scientific Data Formats: Hierarchical Data Format Next

HDF_DFR8_SETPALETTE

Syntax | Arguments | Keywords | Version History

The HDF_DFR8_SETPALETTE procedure sets the current palette to be used for subsequent images in an HDF file. The current palette will be used when adding images with the HDF_DFR8_ADDIMAGE routine.

Syntax

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.

Keywords

None

Version History

4.0
Introduced

  IDL Online Help (March 06, 2007)