Routines (alphabetical) > Routines: H > HDF Routines > HDF_DFP_ADDPAL

# HDF_DFP_ADDPAL

The HDF_DFP_ADDPAL procedure appends a palette to an HDF file.

## Syntax

HDF_DFP_ADDPAL, Filename, Palette

## Arguments

### Filename

A scalar string containing the name of the file to be written.

### Palette

A vector or array containing palette data. Palettes must be either [3, 256] arrays or 786-element vectors.

## Keywords

None

## Version History

4.0 | Introduced