Image.make24bit

void make24bit(hid_t locId, string imageName, hsize_t width, hsize_t height, InterlaceMode interlace, const ubyte[] data)

Creates a 24-bit color image.

Parameters

locIdLocation identifier (file or group handle)
imageNameName of the image dataset
widthWidth of the image in pixels
heightHeight of the image in pixels
interlaceInterlace mode (pixel or plane)
dataPixel data (width height 3 bytes)

Throws

HDF5Exception if image creation fails