Image.getNumPalettes
hssize_t getNumPalettes(hid_t locId, string imageName)Gets the number of palettes associated with an image.
Parameters
locId | Location identifier (file or group handle) |
imageName | Name of the image dataset |
Returns
Number of palettes
Throws
HDF5Exception if getting palette count fails