TIFF production
Last updated
Last updated
PDF files, whether produced automatically or via a , can be converted to TIFF image files for download or email.
[SINCE Orbeon Forms 2016.1]
This is an Orbeon Forms PE feature.
TIFF files can be accessed directly from the Form Runner Summary Page and Detail Page using the tiff
button.
Example for the Detail Page:
Example for the Summary Page:
See also [Predefined buttons](../advanced/buttons-and-processes/README.md#predefined buttons).
The TIFF compression type can be selected with the oxf.fr.detail.tiff.compression.type
property:
possible value: CCITT RLE
, CCITT T.4
, CCITT T.6
, LZW
, JPEG
, ZLib
, PackBits
, Deflate
, EXIF JPEG
or none
default: LZW
The compression quality can be selected with the oxf.fr.detail.tiff.compression.quality
property:
possible values: 0.0
to 1.0
default: 0.8
The scale factor can be selected with the oxf.fr.detail.tiff.scale
property:
possible values: positive double-precision number
default: 3.0
The following property dynamically controls the name of the TIFF file produced on the Detail Page. By default, if the property value is blank, the TIFF filename is a random id assigned to the current form session.
The value of the property, if not empty, is an XPath expression which runs in the context of the root element of the XML document containing form data. The trimmed string value of the result of the expression is used to determine the filename.
Example:
If the form contains a customer-id
field, the PDF filename will be the value of that field followed by .tiff
. If the field is blank, the default, random id filename is used, as if the property had not been specified.
You can email the TIFF file using the following property:
You can send the URL of a TIFF file using the content = "tiff-url"
parameter. See .