Multipage TIFF Creator
This adapter creates a Multipage Tagged Image File Format (TIFF) document from image files of type BMP, GIF, FlashPix, JPEG, PNG, PNM, TIFF and WBPM. The image files are specified in an adapter-specific input XML document. The adapter outputs a multi-page TIFF image as a binary data stream with a maximum size of 4 GB
Properties
| Operation | Determines which operation the adapter executes Possible values: |
Parameters
| Adapter | Main class of the adapter (do not change!) Possible values: |
| compression | Compression type Possible values:
|
| deflateLvl | Deflate level (if Deflate compression type is selected and Deflate compression is to be applied to the entire TIFF document). Possible values:
|
| resX | Horizontal screen/print resolution value Possible values:
|
| resY | Vertical screen/print resolution value Possible values:
|
| resUnit | Unit for screen/print resolution Possible values:
|
Status values
1 | The operation was executed successfully. |
-1 | The operation failed due to a technical error. |
Input
This adapter expects an adapter-specific input XML structure in which all image files to be processed are referenced via a valid URL protocol. You can use an optional thumbnail_scale attribute to specify whether a scaled version of the image should also be inserted as a page in the TIFF file. The attribute value specifies the scaling factor.
<imagechooser>
<image url="URL zur Bilddatei" thumbnail_scale="Skalierungsfaktor" />
</imagechooser>
Example
The following input XML structure references two images, one via xstore:// from the X4 repository, the second via an absolute path specification with file://. The function adapter creates a three-page TIFF file that contains the first image unchanged, the version of the first image reduced by 50% on the second page, and the second image on the third page.
<imagechooser>
<image url="xstore://Folder/Image.tif" thumbnail_scale="0.5" />
<image url="file:///C:/Folder/Picture.jpg" />
</imagechooser>