ImageFormat
[ XITE Reference Manual | XITE home ]
Name
ImageFormat, ImageTitle, ImageAddress, ImageWidth, ImageHeight,
ImageLineLength, ImageXstart, ImageYstart, ImagePixName -
Format dependent module for XITE Image Widget
Syntax
#include <xite/ImageFormat.h>
char *ImageTitle( IMAGE img );
unsigned char *ImageAddress( IBAND band );
int ImageWidth( IBAND band );
int ImageHeight( IBAND band );
int ImageLineLength( IBAND band );
int ImageXstart( IBAND band );
int ImageYstart( IBAND band );
char *ImagePixName( IBAND band );
Description
ImageAddress returns a pointer to the least significant byte
(assuming big-endian byte-ordering) of the first pixel of the
BIFF band.
ImageWidth returns the number of pixels in a row of the
image.
ImageHeight returns the number of pixels in a column of the
image.
ImageLineLength gives the number of bytes needed to
represent one row of the image.
ImageXstart and ImageYstart return the relative global
coordinates for the upper left corner of the image.
See also
Image(3), ImageOverlay(3)