ddn.lib.hdf5.hl.h5im
HDF5 High-Level Image Interface Binding
This module provides D bindings for HDF5 Image operations (H5IM API). The Image API provides functions for managing HDF5 image datasets.
License
BSD-3-Clause
enum H5IM_interlace_t
Types 1
enumH5IM_interlace_t : int
Interlace mode for 24-bit images
INTERLACE_PIXEL = 0
INTERLACE_PLANE = 1
Functions 13
fn
herr_t H5IMmake_image_8bit(hid_t loc_id, const char * dset_name, hsize_t width,
hsize_t height, const ubyte * buffer) extern(C) @nogc nothrowCreates and writes an 8-bit indexed imagefn
herr_t H5IMmake_image_24bit(hid_t loc_id, const char * dset_name, hsize_t width,
hsize_t height, const char * interlace, const ubyte * buffer) extern(C) @nogc nothrowCreates and writes a 24-bit true color imagefn
herr_t H5IMread_image(hid_t loc_id, const char * dset_name, ubyte * buffer) extern(C) @nogc nothrowReads image datafn
herr_t H5IMget_image_info(hid_t loc_id, const char * dset_name, hsize_t * width,
hsize_t * height, hsize_t * planes, char * interlace, hssize_t * npals) extern(C) @nogc nothrowGets image informationfn
herr_t H5IMis_image(hid_t loc_id, const char * dset_name) extern(C) @nogc nothrowDetermines if a dataset is an imagefn
herr_t H5IMmake_palette(hid_t loc_id, const char * pal_name, const hsize_t * pal_dims,
const ubyte * pal_data) extern(C) @nogc nothrowCreates and writes a palettefn
herr_t H5IMlink_palette(hid_t loc_id, const char * image_name, const char * pal_name) extern(C) @nogc nothrowLinks a palette to an imagefn
herr_t H5IMunlink_palette(hid_t loc_id, const char * image_name, const char * pal_name) extern(C) @nogc nothrowUnlinks a palette from an imagefn
herr_t H5IMget_npalettes(hid_t loc_id, const char * image_name, hssize_t * npals) extern(C) @nogc nothrowGets the number of palettes associated with an imagefn
herr_t H5IMget_palette_info(hid_t loc_id, const char * image_name, int pal_number,
hsize_t * pal_dims) extern(C) @nogc nothrowGets palette informationfn
herr_t H5IMget_palette(hid_t loc_id, const char * image_name, int pal_number,
ubyte * pal_data) extern(C) @nogc nothrowReads palette datafn
herr_t H5IMis_palette(hid_t loc_id, const char * dset_name) extern(C) @nogc nothrowDetermines if a dataset is a palettefn
herr_t H5IM_find_palette(hid_t loc_id, const char * dset_name,
const char * pal_name, int * pal_number) extern(C) @nogc nothrowFinds a palette dataset by name.