createTiffEncoder () : nodeset

A picture can be transformed into the TIFF picture format using this method.

Possible input values for the Tiff compressions

  • NoCompression
  • Group3FaxEncoding
  • Group4FaxEncoding
  • JpegCompression
  • MacintoshPackbits
  • Deflate
  • Lzw
  • ModifiedHuffman
  • Default

If no parameters are specified, the value “Default” for the Tiff compression and the value “false()” for the parameter “append” is used.

<xsl:stylesheet xmlns:xsl="" xmlns:ise="" xmlns:is="" xmlns:b="" xmlns:onion="" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" indent="no" />
<xsl:template match="/resource">
<xsl:variable name="workspace" select="is:createWorkspace(@src, true())" />
<xsl:variable name="doWrite" select="is:writeWorkspace($workspace, ise:createTiffEncoder('Default',false()))" />
<b:output mimeType="image/tiff">
<b:webResponse expires="60" dispositionType="attachment" filename="TiffEncoderBeispiel" />
Example of TIFF Encoder

In this example, a picture is converted into the Tiff picture format with the Tiff compression default and then offered for download with the file name "TiffEncoderExample".