The Image and Palette Specification covers the types of images and palettes supported in HDF5. Currently the two supported types of palette are "STANDARD8" or "RANGEINDEX". (We may add more types into the future.)
HDFView only supports an indexed RGB color table with 256 colors (8-bit) or a 24-bit true color image. It does not support an image with any other color table. When an image has an unsupported color table, HDFView will display the image with one of the default color tables (grey, nature, wave and rainbow).