Class TiffType


  • public class TiffType
    extends ImageBaseType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines a target TIFF image format.</p>
     

    Java class for TiffType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="TiffType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}ImageBaseType">
           <attribute name="multipage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="compression" type="{http://schema.webpdf.de/1.0/operation}TiffCompressionType" default="none" />
           <attribute name="jpegQuality" default="80">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
                 <maxInclusive value="100"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="blackAndWhiteQuality" type="{http://schema.webpdf.de/1.0/operation}TiffBlackAndWhiteQualityType" default="high" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • multipage

        protected Boolean multipage
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," a "multi-page TIFF" will be created when multiple pages are exported as "tif" images. All the pages will be exported to a single file, and a ZIP file with individual images will not be generated.</p>
         
      • compression

        protected TiffCompressionType compression
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This parameter is used to specify the compression method when exporting pages as "tif" images. The following values are available:
                                         <ul><li>none = No compression</li><li>rle = TIFF CCITT Modified Huffman RLE compression</li><li>deflate = TIFF Deflate lossless compression (Zip-in-TIFF).</li><li>group3 = TIFF CCITT Group 3 fax encoding</li><li>group4 = TIFF CCITT Group 4 fax encoding</li><li>jpeg = TIFF JPEG-in-TIFF compression</li><li>lzw = TIFF LZW compression</li><li>packbits = TIFF Byte-oriented run-length encoding "PackBits" compression</li><li>zlib = TIFF ZLib compression</li></ul></p>
         
      • jpegQuality

        protected Integer jpegQuality
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">When exporting to "jpg" format, this parameter can be used to define the image's quality as a percentage. The value must fall between 0 and 100. The larger the value, the better the quality and the lower the compression level.</p>
         
      • blackAndWhiteQuality

        protected TiffBlackAndWhiteQualityType blackAndWhiteQuality
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">For "tif" exports, this parameter is used to define the quality of black-and-white images if "group3" or "group4" is used as a compression method. The higher the quality, the more time that will be required in order to render the image:
                                         <ul><li>low = Direct conversion (best reserved for "text only" content)</li><li>middle = A diffusion filter will be applied to the image before conversion</li><li>high = Greyscale conversion and a diffusion filter will be applied to the image before conversion</li></ul></p>
         
    • Constructor Detail

      • TiffType

        public TiffType()
    • Method Detail

      • isMultipage

        public boolean isMultipage()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," a "multi-page TIFF" will be created when multiple pages are exported as "tif" images. All the pages will be exported to a single file, and a ZIP file with individual images will not be generated.</p>
         
        Returns:
        possible object is Boolean
      • setMultipage

        public void setMultipage​(boolean value)
        Sets the value of the multipage property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isMultipage()
      • isSetMultipage

        public boolean isSetMultipage()
      • unsetMultipage

        public void unsetMultipage()
      • getCompression

        public TiffCompressionType getCompression()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This parameter is used to specify the compression method when exporting pages as "tif" images. The following values are available:
                                         <ul><li>none = No compression</li><li>rle = TIFF CCITT Modified Huffman RLE compression</li><li>deflate = TIFF Deflate lossless compression (Zip-in-TIFF).</li><li>group3 = TIFF CCITT Group 3 fax encoding</li><li>group4 = TIFF CCITT Group 4 fax encoding</li><li>jpeg = TIFF JPEG-in-TIFF compression</li><li>lzw = TIFF LZW compression</li><li>packbits = TIFF Byte-oriented run-length encoding "PackBits" compression</li><li>zlib = TIFF ZLib compression</li></ul></p>
         
        Returns:
        possible object is TiffCompressionType
      • isSetCompression

        public boolean isSetCompression()
      • getJpegQuality

        public int getJpegQuality()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">When exporting to "jpg" format, this parameter can be used to define the image's quality as a percentage. The value must fall between 0 and 100. The larger the value, the better the quality and the lower the compression level.</p>
         
        Returns:
        possible object is Integer
      • setJpegQuality

        public void setJpegQuality​(int value)
        Sets the value of the jpegQuality property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getJpegQuality()
      • isSetJpegQuality

        public boolean isSetJpegQuality()
      • unsetJpegQuality

        public void unsetJpegQuality()
      • getBlackAndWhiteQuality

        public TiffBlackAndWhiteQualityType getBlackAndWhiteQuality()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">For "tif" exports, this parameter is used to define the quality of black-and-white images if "group3" or "group4" is used as a compression method. The higher the quality, the more time that will be required in order to render the image:
                                         <ul><li>low = Direct conversion (best reserved for "text only" content)</li><li>middle = A diffusion filter will be applied to the image before conversion</li><li>high = Greyscale conversion and a diffusion filter will be applied to the image before conversion</li></ul></p>
         
        Returns:
        possible object is TiffBlackAndWhiteQualityType
      • isSetBlackAndWhiteQuality

        public boolean isSetBlackAndWhiteQuality()