Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ilImageDes(5) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ilImageDes()

NAME

ilImageDes − image description structure

SYNOPSIS

typedef struct {

unsigned short type;

unsigned short compression;

ilShortBool blackIsZero;

unsigned short nSamplesPerPixel;

unsigned long noLongerUsed;

union {

ilG3Info g3;

ilJPEGInfo JPEG;

} compInfo;

long reserved [IL_DES_RESERVED_SIZE];

union {

ilYCbCrInfo YCbCr;

ilPaletteInfo palette;

long filler[8];

} typeInfo;

long nLevelsPerSample [IL_MAX_SAMPLES];

} ilImageDes;

DESCRIPTION

ilImageDes is a structure whose fields describe the image.  For full details on this data structure, consult Using the Image Developer’s Kit.

type is one of the following types of image: IL_BITONAL, IL_GRAY, IL_PALETTE, IL_RGB, or IL_YCBCR. 

compression is one of the following types of compression: IL_UNCOMPRESSED, IL_G3, IL_LZW, IL_PACKBITS, IL_JPEG, or IL_G4. 

blackIsZero for bitonal and gray scale images only; set to TRUE if zero is black; set to FALSE if zero is white. 

nSamplesPerPixel
is the number of samples per pixel; 1 for IL_BITONAL, IL_GRAY, IL_PALETTE images; 3 for IL_RGB and IL_YCBCR images. 

noLongerUsed must be set to 0x10001

compInfo is a union used only if compression is IL_G3 or IL_JPEG. 

reserved must be zero (0); this field is reserved for future use. 

typeInfo is a union used only if type is IL_YCBCR. 

nLevelsPerSample
is an array of values that identifies the number of level for each sample; (2 for IL_BITONAL; 256,256,256 for IL_RGB.) 

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026