[Top]
[Prev]
[Next]
[Bottom]
GRgetlutinfo/mgglinf
intn GRgetlutinfo(int32
pal_id
, int32 *
ncomp
, int32 *
data_type
, int32
*
interlace
,
int32 *
num_entries
)
pal_id
IN:
Palette identifier returned by
GRgetlutid
ncomp
OUT:
Number of components in the palette
data_type
OUT:
Data type of the palette data
interlace
OUT:
Interlace mode of the stored palette data
num_entries
OUT:
Number of color lookup table entries in the palette
Purpose
Reports the data type, interlace mode and number of color lookup table entries of the specified palette.
Return value
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
Each of the arguments can be set to NULL, in which case the corresponding item of information will not be retrieved.
FORTRAN
integer function mgglinf(pal_id, ncomp, data_type, interlace, num_entries)
integer pal_id, ncomp, data_type, interlace, num_entries
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.