H5IMget_npalettes
gets the number of palettes associated to an image specified byimage_name
.
- synopsis
Gets the number of palettes associated to an image.
- param loc_id
IN: Identifier of the file or group in which the imagedataset is located.
- param image_name
IN: The name of the image dataset.
- param npals
OUT: The number of palettes.
- return
Returns a non-negative value if successful; otherwise returns a negative value.
Fortran90 Interface: h5imget_npalettes_f
subroutine h5imget_npalettes_f(loc_id, dset_name, npals, errcode)
implicit none
integer(HID_T), intent(IN) :: loc_id ! file or group identifier
character(LEN=*), intent(IN) :: dset_name ! name of the dataset
integer(HSIZE_T), intent(INOUT) :: npals ! palettes
integer :: errcode ! error code
end subroutine h5imget_npalettes_f