Ipixsize

[ XITE Reference Manual | XITE home ]

Name

Ipixsize - return the BIFF pixel size in bits

Syntax

 #include <xite/biff.h>

 long Ipixsize( IPIXTYP pity );

Description

Return the number of bits needed to store one pixel of type pity, defined by the pixel type definitions in biff.h.

Restrictions

pity must be legal pixel type.

See also

Ipixtyp(5), Ipixname(5), IparsePixtyp(5)

Return value

size if ok, -1 otherwise.

Author

Tor Lønnestad, BLAB, Ifi, UiO