H5IM_find_palette
fn
herr_t H5IM_find_palette(hid_t loc_id, const char * dset_name,
const char * pal_name, int * pal_number)Finds a palette dataset by name.
Searches for a palette dataset with the specified name at the given location. This function is used internally by the image API.
Parameters
loc_id | Location identifier (file or group) |
dset_name | Name of the dataset to search for palette |
pal_name | Name of the palette to find |
pal_number | Pointer to receive the palette index if found |
Returns
1 if palette found, 0 if not found, negative on error.