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

# HDF_DFR8_GETIMAGE

The HDF_DFR8_GETIMAGE procedure retrieves an image and optionally, its palette, from an HDF file.

## Syntax

HDF_DFR8_GETIMAGE, Filename, Image [, Palette]

## Arguments

### Filename

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

### Image

A named variable in which the image is returned.

### Palette

A named variable in which the palette is returned as a 3-element by 256-element byte array. If the image does not have an associated palette, this variable is returned as 0.

## Keywords

None

## Version History

4.0 | Introduced