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

Types 1

Interlace mode for 24-bit images

INTERLACE_PIXEL = 0
INTERLACE_PLANE = 1

Functions 13

fnherr_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 image
fnherr_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 image
fnherr_t H5IMread_image(hid_t loc_id, const char * dset_name, ubyte * buffer) extern(C) @nogc nothrowReads image data
fnherr_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 information
fnherr_t H5IMis_image(hid_t loc_id, const char * dset_name) extern(C) @nogc nothrowDetermines if a dataset is an image
fnherr_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 palette
fnherr_t H5IMlink_palette(hid_t loc_id, const char * image_name, const char * pal_name) extern(C) @nogc nothrowLinks a palette to an image
fnherr_t H5IMunlink_palette(hid_t loc_id, const char * image_name, const char * pal_name) extern(C) @nogc nothrowUnlinks a palette from an image
fnherr_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 image
fnherr_t H5IMget_palette_info(hid_t loc_id, const char * image_name, int pal_number, hsize_t * pal_dims) extern(C) @nogc nothrowGets palette information
fnherr_t H5IMget_palette(hid_t loc_id, const char * image_name, int pal_number, ubyte * pal_data) extern(C) @nogc nothrowReads palette data
fnherr_t H5IMis_palette(hid_t loc_id, const char * dset_name) extern(C) @nogc nothrowDetermines if a dataset is a palette
fnherr_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.