Skip to main content
Skip table of contents

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: CreateMultiTiff: Create multipage TIFF document

Parameters


Adapter

Main class of the adapter (do not change!)

Possible values: de.softproject.integration.adapter.tiff.Img2Tiff: Main class (default)

compression

Compression type

Possible values:

  • Deflate: Compress lossless via deflate

  • JPEG: Use JPEG compression (lossy)

  • None: Do not compress (default)

  • Packbits: Compress losslessly via PackBits run-length encoding.

deflateLvl

Deflate level (if Deflate compression type is selected and Deflate compression is to be applied to the entire TIFF document).

Possible values:

  • Any integer from 1-9 (compresses fastest at 1, most verbose at 9).

  • 0: Do not apply Deflate compression to the entire TIFF (default).

resX

Horizontal screen/print resolution value

Possible values:

  • Any integer (e.g. 72)

  • 0: Do not set any resolution value

resY

Vertical screen/print resolution value

Possible values:

  • Any integer (e.g. 72)

  • 0: Do not set any resolution value

resUnit

Unit for screen/print resolution

Possible values:

  • No absolute unit: Do not set an absolute unit

  • Inch: Use inch as unit (DPI or PPI)

  • Centimeter: Use centimetre as unit

Status values

1The operation was executed successfully.
-1The 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.

HTML/XML
<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.

HTML/XML
<imagechooser>
   <image url="xstore://Folder/Image.tif" thumbnail_scale="0.5" />
   <image url="file:///C:/Folder/Picture.jpg" />
</imagechooser>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.