Help us improve by taking our short survey: https://www.hdfgroup.org/website-survey/

| HDF5 Last Updated on 2026-07-28 The HDF5 Field Guide

Loading...
Searching...
No Matches
h5im Module Reference
Fortran High Level Images (H5IM) Interface

This module contains Fortran interfaces for H5IM. More...

## Functions/Subroutines
subroutine | h5imget_image_info_f (loc_id, dset_name, width, height, planes, interlace, npals, errcode)
| Gets information about an image dataset (dimensions, interlace mode and number of associated palettes).
subroutine | h5imget_npalettes_f (loc_id, image_name, npals, errcode)
| Gets the number of palettes associated to an image.
subroutine | h5imget_palette_f (loc_id, image_name, pal_number, pal_data, errcode)
| Gets the palette dataset.
subroutine | h5imget_palette_info_f (loc_id, image_name, pal_number, pal_dims, errcode)
| Gets information about a palette dataset (dimensions).
integer function | h5imis_image_f (loc_id, dset_name)
| Inquires if a dataset is an image.
integer function | h5imis_palette_f (loc_id, dset_name)
| Inquires if a dataset is a palette. Returns zero (false), a positive (true) or a negative (failure) value.
subroutine | h5imlink_palette_f (loc_id, image_name, pal_name, errcode)
| This function attaches a palette to an existing image dataset.
subroutine | h5immake_image_24bit_f (loc_id, dset_name, width, height, il, buf, errcode)
| Creates and writes an image a 24 bit image.
subroutine | h5immake_image_8bit_f (loc_id, dset_name, width, height, buf, errcode)
| Creates and writes an image an 8 bit image.
subroutine | h5immake_palette_f (loc_id, pal_name, pal_dims, pal_data, errcode)
| Creates and writes a palette.
subroutine | h5imread_image_f (loc_id, dset_name, buf, errcode)
| Reads image data from disk.
subroutine | h5imunlink_palette_f (loc_id, image_name, pal_name, errcode)
| This function detaches a palette to an existing image dataset.

## Detailed Description

This module contains Fortran interfaces for H5IM.