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

# HDF_DFP_NPALS

The HDF_DFP_NPALS function returns the number of palettes present in an HDF file. This number includes palettes associated with RIS8 (8-bit raster) images.

## Syntax

Result = HDF_DFP_NPALS(Filename)

## Return Value

Returns the number of palettes.

## Arguments

### Filename

A scalar string containing the name of the desired HDF file.

## Keywords

None

## Version History

4.0 | Introduced