XiePlaneCount(3X) — Subroutines
Digital
NAME
XiePlaneCount − This routine returns the number of planes a client XieImage should contain based on its component mapping and component organization.
C Format
count = XiePlaneCount(img)
C Argument Information
unsigned long count;
XieImage img;
RETURN VALUES
The routine returns the number of planes the specified XieImage should contain in the count argument.
| Component | Component | Number of |
| Mapping | Organization | Planes |
| Bitonal | N/A | 1 |
| Gray scale | BandByPixel | 1 |
| BandByPlane | 1 | |
| BitByPlane | bits per pixel | |
| Multispectral | BandByPixel | 1 |
| BandByPlane | 3 | |
| BitByPlane | sum of bits of the 3 components |
PARAMETERS
imgThe img argument specifies the identifier of the XieImage the routine tests.
DESCRIPTION
This routine returns the number of planes a client XieImage should contain based on its component mapping and component organization. You can use the C Macro PlaneCount_ instead of this routine.
XIE Events and Error Messages
Protocol Messages: None
XIE event returned: None
XieLib errors: None
XieServer errors: None