[Back to Interface] [Prev] [Next]

DFPgetpal/dpgpal

intn DFPgetpal(char *filename, VOIDP palette)

filename IN:

Name of the HDF file

palette OUT:

Buffer for the returned palette

Purpose

Retrieves the next palette from file and stores it in the buffer palette.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

The palette buffer is assumed to be at least 768 bytes long. Successive calls to DFPgetpal retrieve the palettes in the sequence they are stored in the file.

FORTRAN

integer function dpgpal(filename, palette)

character*(*) filename. palette



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.