Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
PCDINFO
typedef struct pcdinfo
{
L_INT resolution[6];
} PCDINFO, * pPCDINFO;
The PCDINFO structure is updated by the LFileSettings::GetPCDResolution function, which tests for available resolutions in a specified PCD file.
Member |
Description |
resolution |
An array of integers. The value of each integer can be 0 or 1. The following symbolic constants are defined for use as indexes into the array: |
|
Constant Used as Index |
Meaning |
|
L_PCD_BASE_OVER_64 |
[0] Resolution 64 x 96 |
|
L_PCD_BASE_OVER_16 |
[1] Resolution 128 x 192 |
|
L_PCD_BASE_OVER_4 |
[2] Resolution 256 x 384 |
|
L_PCD_BASE |
[3] Resolution 512 x 768 |
|
L_PCD_4BASE |
[4] Resolution 1024 x 1536 |
|
L_PCD_16BASE |
[5] Resolution 2048 x 3072 |
Comments
pPCDINFO is a pointer to a PCDINFO structure. Where the function parameter type is pPCDINFO, you can declare a PCDINFO variable and pass the variable's address in the parameter. Declaring a pPCDINFO variable is necessary only if your program requires a pointer.