![]() |
HDF5
1.15.0.207d749
API Reference
|
Functions/Subroutines | |
subroutine | h5immake_image_8bit_f (loc_id, dset_name, width, height, buf, errcode) |
Creates and writes an image an 8 bit image. More... | |
subroutine | h5imread_image_f (loc_id, dset_name, buf, errcode) |
Reads image data from disk. More... | |
subroutine | h5immake_image_24bit_f (loc_id, dset_name, width, height, il, buf, errcode) |
Creates and writes an image a 24 bit image. More... | |
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). More... | |
integer function | h5imis_image_f (loc_id, dset_name) |
Inquires if a dataset is an image. More... | |
subroutine | h5immake_palette_f (loc_id, pal_name, pal_dims, pal_data, errcode) |
Creates and writes a palette. More... | |
subroutine | h5imlink_palette_f (loc_id, image_name, pal_name, errcode) |
This function attaches a palette to an existing image dataset. More... | |
subroutine | h5imunlink_palette_f (loc_id, image_name, pal_name, errcode) |
This function detaches a palette to an existing image dataset. More... | |
subroutine | h5imget_npalettes_f (loc_id, image_name, npals, errcode) |
Gets the number of palettes associated to an image. More... | |
subroutine | h5imget_palette_info_f (loc_id, image_name, pal_number, pal_dims, errcode) |
Gets information about a palette dataset (dimensions). More... | |
subroutine | h5imget_palette_f (loc_id, image_name, pal_number, pal_data, errcode) |
Gets the palette dataset. More... | |
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. More... | |
subroutine h5im::h5imget_image_info_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | dset_name, | ||
integer(hsize_t), intent(inout) | width, | ||
integer(hsize_t), intent(inout) | height, | ||
integer(hsize_t), intent(inout) | planes, | ||
character(len=*), intent(inout) | interlace, | ||
integer(hsize_t), intent(inout) | npals, | ||
integer | errcode | ||
) |
Gets information about an image dataset (dimensions, interlace mode and number of associated palettes).
loc_id | Location identifier. The identifier may be that of a file or group. |
dset_name | The name of the dataset. |
width | The width of the image. |
height | The height of the image. |
planes | The number of color planes of the image. |
interlace | The interlace mode of the image. |
npals | The number of palettes associated to the image. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMget_image_info()
subroutine h5im::h5imget_npalettes_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | image_name, | ||
integer(hsize_t), intent(inout) | npals, | ||
integer | errcode | ||
) |
Gets the number of palettes associated to an image.
loc_id | Location identifier. The identifier may be that of a file or group. |
image_name | The name of the image dataset. |
npals | The number of palettes. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMget_npalettes()
subroutine h5im::h5imget_palette_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | image_name, | ||
integer, intent(in) | pal_number, | ||
integer, dimension(*), intent(inout) | pal_data, | ||
integer | errcode | ||
) |
Gets the palette dataset.
loc_id | Location identifier. The identifier may be that of a file or group. |
image_name | The name of the image dataset. |
pal_number | The zero based index that identifies the palette. |
pal_data | The palette dataset. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMget_palette_info()
subroutine h5im::h5imget_palette_info_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | image_name, | ||
integer, intent(in) | pal_number, | ||
integer(hsize_t), dimension(*), intent(inout) | pal_dims, | ||
integer | errcode | ||
) |
Gets information about a palette dataset (dimensions).
loc_id | Location identifier. The identifier may be that of a file or group. |
image_name | The name of the image dataset. |
pal_number | The zero based index that identifies the palette. |
pal_dims | The dimensions of the palette dataset. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMget_palette_info()
integer function h5im::h5imis_image_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | dset_name | ||
) |
Inquires if a dataset is an image.
loc_id | Location identifier. The identifier may be that of a file or group. |
dset_name | The name of the dataset. |
See C API: H5IMis_image()
integer function h5im::h5imis_palette_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | dset_name | ||
) |
Inquires if a dataset is a palette. Returns zero (false), a positive (true) or a negative (failure) value.
loc_id | Location identifier. The identifier may be that of a file or group. |
dset_name | The name of the dataset. |
See C API: H5IMis_palette()
subroutine h5im::h5imlink_palette_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | image_name, | ||
character(len=*), intent(in) | pal_name, | ||
integer | errcode | ||
) |
This function attaches a palette to an existing image dataset.
loc_id | Location identifier. The identifier may be that of a file or group. |
image_name | The name of the dataset to attach the palette to. |
pal_name | The name of the palette. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMlink_palette()
subroutine h5im::h5immake_image_24bit_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | dset_name, | ||
integer(hsize_t), intent(in) | width, | ||
integer(hsize_t), intent(in) | height, | ||
character(len=*), intent(in) | il, | ||
integer, dimension(*), intent(in) | buf, | ||
integer | errcode | ||
) |
Creates and writes an image a 24 bit image.
loc_id | Location identifier. The identifier may be that of a file or group. |
dset_name | The name of the dataset to create. |
width | The width of the image. |
height | The height of the image. |
il | String defining the interlace mode. |
buf | Buffer with data to be written to the dataset. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMmake_image_24bit()
subroutine h5im::h5immake_image_8bit_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | dset_name, | ||
integer(hsize_t), intent(in) | width, | ||
integer(hsize_t), intent(in) | height, | ||
integer, dimension(*), intent(in) | buf, | ||
integer | errcode | ||
) |
Creates and writes an image an 8 bit image.
loc_id | Location identifier. The identifier may be that of a file or group. |
dset_name | The name of the dataset to create. |
width | The width of the image. |
height | The height of the image |
buf | Buffer with data to be written to the dataset |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMmake_image_8bit()
subroutine h5im::h5immake_palette_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | pal_name, | ||
integer(hsize_t), dimension(*), intent(in) | pal_dims, | ||
integer, dimension(*), intent(in) | pal_data, | ||
integer | errcode | ||
) |
Creates and writes a palette.
loc_id | Location identifier. The identifier may be that of a file or group. |
pal_name | The name of the palette. |
pal_dims | An array of the size of the palette dimensions. |
pal_data | Buffer with data to be written to the dataset. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMmake_palette()
subroutine h5im::h5imread_image_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | dset_name, | ||
integer, dimension(*), intent(inout) | buf, | ||
integer | errcode | ||
) |
Reads image data from disk.
loc_id | Location identifier. The identifier may be that of a file or group. |
dset_name | The name of the dataset to create. |
buf | Buffer with data to store the image. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMread_image()
subroutine h5im::h5imunlink_palette_f | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | image_name, | ||
character(len=*), intent(in) | pal_name, | ||
integer | errcode | ||
) |
This function detaches a palette to an existing image dataset.
loc_id | Location identifier. The identifier may be that of a file or group. |
image_name | The name of the image dataset. |
pal_name | The name of the palette. |
errcode | Returns 0 if successful and -1 if it fails. |
See C API: H5IMunlink_palette()