ilImageFormat()
NAME
ilImageFormat − image format description structure
SYNOPSIS
typedef struct {
unsigned short sampleOrder;
unsigned short byteOrder;
unsigned short rowBitAlign;
long reserved [IL_FORMAT_RESERVED_SIZE];
unsigned short nBitsPerSample;
} ilImageFormat;
DESCRIPTION
ilImageFormat is a structure whose fields describe the image file format.
sampleOrder For images having nSamplesPerPixel > 1, this value is either IL_SAMPLE_PIXELS (where the samples for one pixel are stored consecutively: r,g,b) or IL_SAMPLE_PLANES (where the samples of the same type are stored consecutively: all reds, then all greens, then all blues).
byteOrder identifies a value that must be IL_MSB_FIRST
rowBitAlign identifies how rows are aligned: must be 8, 16, 32.
reserved identifies a value that must be zero (0).
nBitsPerSample bits or depth per component; (For IL_BITONAL, 1; for IL_GRAY, 4 or 8; for IL_PALETTE, 4 or 8; for IL_RGB, 4, 4, 4 or 8, 8, 8; for IL_YCBCR, 8, 8, 8.)
FILES
/opt/image/include/il.h
/opt/image/include/ilfile.h
/opt/image/include/ilX.h
/opt/image/include/ilpipelem.h
AUTHOR
The Image Library was developed by HP.
SEE ALSO
Using the Image Developer’s Kit.
Hewlett-Packard Company — Image Library: February, 1995