Ipixtyp

[ XITE Reference Manual | XITE home ]

Name

Ipixtyp - return the pixel type of the BIFF band

Syntax

 #include <xite/biff.h>

 IPIXTYP Ipixtyp( IBAND band );

Description

Return the pixel type of band as a long defined by the pixel type definitions in biff.h.

The returned value will be Iu_color_typ = (Iu_byte_typ | Icolor_mask) for an unsigned byte colortable pixeltype.

Restrictions

The band must be initialized.

See also

Ipixsize(5), Ipixname(5), IparsePixtyp(5), Imake_band(5), biffinfo(1)

Return value

pixel type if ok, -1 otherwise.

Author

Tor Lønnestad, BLAB, Ifi, UiO