QPx_CreateMultipageTIFFBLOB
QPx_CreateMultipageTIFFBLOB(tiffBLOB; tiffBLOB; tiffBLOB; tiffBLOB; tiffBLOB):error | |||
---|---|---|---|
![]() |
tiffBLOB | BLOB | Output BLOB |
![]() |
sourceImages | Array | Array of source images |
![]() |
tiffCompression | Longint | TIFF compression |
![]() |
tiffEndianess | Longint | TIFF endianess |
![]() |
optionFlags | Longint | Options |
![]() |
error | Longint | Error result |
Create a multi-page TIFF BLOB from individual images
Parameter tiffBLOB receives the output TIFF BLOB.
The input images are specified by the sourceImages parameter (an array). If sourceImages is a text array, each element of the array must contain the full path to a source image file. If sourceImages is a picture array, each element of the array contains the source picture for the corresponding TIFF page.
Parameter tiffCompression specifies the TIFF compression for the output file. It can be one of the TIFF compression constants:
qpx_TIFFCompressionCCITTFax4 | 4 | CCITT G4 compression |
qpx_TIFFCompressionCCITTFax3 | 3 | CCITT G3 compression |
qpx_TIFFCompressionNone | 1 | No compression |
qpx_TIFFCompressionPackBits | 32773 | Packbits compression |
Parameter tiffEndianess specifies the endianess of the output file. It can be one of the TIFF endianess constants:
qpx_TIFFNativeEndianess | 0 | Native endianess: big endian on MacOS, little endian on Windows |
qpx_TIFFBigEndian | 1 | Big endian (MSB to LSB) |
qpx_TIFFLittleEndian | 2 | Little endian (LSB to MSB) |
The optionFlags parameter can specify options for the TIFF creation operation. It can be a bitwise "OR" combination of the following constants:
qpx_TIFFShowProgress | 0x0001 | Display a progress dialog |
qpx_TIFFInsertAllPages | 0x0002 | Insert all pages from multi-page source files |
Related commands
QPx_CreateMultipageTIFFFile | Create a multi-page TIFF file from individual images |