Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
typedef struct _RASTERPDFINFO
{
L_UINT uStructSize;
L_BOOL bIsLeadPdf;
L_INT nBitsPerPixel;
L_INT Format;
L_INT nWidth;
L_INT nHeight;
L_INT XResolution;
L_INT YResolution;
RASTERPDFVERSION Version;
} RASTERPDFINFO, *pRASTERPDFINFO;
The RASTERPDFINFO structure provides information about Raster PDF file created by LEADTOOLS Raster PDF plugin.
Member |
Description |
|
uStructSize |
Size of the structure. This must be set before passing this structure to the LEAD functions. Use the sizeof(RASTERPDFINFO) macro to calculate this value. |
|
bIsLeadPdf |
Flag that indicates whether the PDFile is saved by LEADTOOLS Raster PDF plugin. |
|
|
Value |
Meaning |
|
TRUE |
The file is created by LEADTOOLS Raster PDF plugin. The other members of this structure are guaranteed to work. Also L_DeletePage will work. |
|
FALSE |
The file is not created by LEADTOOLS Raster PDF plugin. |
nBitsPerPixel |
The bits/pixel of the raster image in PDF file. Horizontal display resolution in dots per inch. You can use it 0 to use the current screen horizontal resolution. |
|
Format |
The format of the raster image in PDF file. Possible values are: |
|
|
Value |
Meaning |
|
FILE_RAS_PDF |
[146] Raster PDF uncompressed. |
|
FILE_RAS_PDF_G3_1D |
[147] Raster PDF with G3 1D Compression. |
|
FILE_RAS_PDF_G3_2D |
[148] Raster PDF with G3 2D Compression. |
|
FILE_RAS_PDF_G4 |
[149] Raster PDF with G4 Compression. |
|
FILE_RAS_PDF_JPEG |
[150] Raster PDF with JPEG 4:4:4 Compression. |
|
FILE_RAS_PDF_JPEG_422 |
[151] Raster PDF with JPEG 4:2:2 Compression. |
|
FILE_RAS_PDF_JPEG_411 |
[152] Raster PDF with JPEG 4:1:1 Compression. |
|
FILE_RAS_PDF_LZW |
[179] Raster PDF with LZW Compression. |
|
FILE_RAS_PDF_JBIG2 |
[188] Raster PDF with JBIG2 Compression. |
|
FILE_RAS_PDF_CMYK |
[333] Raster PDF with uncompressed CMYK data. |
|
FILE_RAS_PDF_LZW_CMYK |
[334] Raster PDF with LZW Compressed CMYK data. |
nWidth |
Width of the image in pixels. |
|
nHeight |
Height of the image in pixels. |
|
XResolution |
Horizontal resolution of the first image. |
|
YResolution |
Vertical resolution of the first image. |
|
Version |
Value indicates the PDF file version. For possible values, refer to RASTERPDFVERSION. |
Comments
pRASTERPDFINFO is a pointer to a RASTERPDFINFO structure.
The following functions make use of this structure: