[Top]
[Prev]
[Next]
[Bottom]
DFPgetpal/dpgpal
intn DFPgetpal(const char *
filename
, VOIDP
palette
)
filename
IN:
Name of the HDF file
palette
OUT:
Buffer for the returned palette
b
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
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.