<< Click to Display Table of Contents >> VpeSetTiffExportOptions |
[Windows platform only, Professional Edition and above]
Specifies options for exported TIFF images.
void VpeSetTiffExportOptions(
VpeHandle hDoc,
long options
)
VpeHandle hDoc
Document Handle
long options
several options
Constant Name |
Value |
Decimal |
Comment |
PICEXP_TIFF_DEFAULT |
0x0000 |
0 |
Default, save using CCITTFAX4 compression for 1-bit bitmaps and LZW compression for any other bitmaps |
PICEXP_TIFF_PACKBITS |
0x0100 |
256 |
Save using PACKBITS compression |
PICEXP_TIFF_DEFLATE |
0x0200 |
512 |
Save using DEFLATE compression (a.k.a. ZLIB compression) |
PICEXP_TIFF_ADOBE_DEFLATE |
0x0400 |
1024 |
Save using ADOBE DEFLATE compression |
PICEXP_TIFF_NONE |
0x0800 |
2048 |
Save without any compression |
PICEXP_TIFF_CCITTFAX3 |
0x1000 |
4096 |
Save using CCITT Group 3 fax encoding |
PICEXP_TIFF_CCITTFAX4 |
0x2000 |
8192 |
Save using CCITT Group 4 fax encoding |
PICEXP_TIFF_LZW |
0x4000 |
16384 |
Save using LZW compression |
PICEXP_TIFF_JPEG |
0x8000 |
32768 |
Save using JPEG compression (8-bit greyscale and 24-bit only. Default to LZW for other bitdepths.) |
PICEXP_TIFF_APPEND |
0x40000000 |
1073741824 |
Append file to multi-page TIFF |
Default:
PICEXP_TIFF_DEFAULT
Remarks:
The flag PICEXP_TIFF_APPEND can be combined with other flags.
Example:
VpeSetTiffExportOptions(hDoc, PICEXP_TIFF_DEFAULT + PICEXP_TIFF_APPEND)