Class OperationTiff


  • public class OperationTiff
    extends Object
    Defines a target TIFF image format.
    • Constructor Detail

      • OperationTiff

        public OperationTiff()
    • Method Detail

      • getBlackAndWhiteQuality

        @Nullable
        public @Nullable OperationTiff.BlackAndWhiteQualityEnum getBlackAndWhiteQuality()
        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: * low = Direct conversion (best reserved for \"text only\" content) * middle = A diffusion filter will be applied to the image before conversion * high = Greyscale conversion and a diffusion filter will be applied to the image before conversion
        Returns:
        blackAndWhiteQuality
      • getCompression

        @Nullable
        public @Nullable OperationTiff.CompressionEnum getCompression()
        This parameter is used to specify the compression method when exporting pages as \"tif\" images. The following values are available: * none = No compression * rle = TIFF CCITT Modified Huffman RLE compression * deflate = TIFF Deflate lossless compression (Zip-in-TIFF). * group3 = TIFF CCITT Group 3 fax encoding * group4 = TIFF CCITT Group 4 fax encoding * jpeg = TIFF JPEG-in-TIFF compression * lzw = TIFF LZW compression * packbits = TIFF Byte-oriented run-length encoding \"PackBits\" compression * zlib = TIFF ZLib compression
        Returns:
        compression
      • getDpi

        @Nullable
        public @Nullable Integer getDpi()
        This parameter is used to define the image's DPI resolution. The larger the value, the larger the image's x, y resolution. In addition, the larger the DPI resolution, the larger the size of the image file. minimum: 0 maximum: 9600
        Returns:
        dpi
      • setDpi

        public void setDpi​(Integer dpi)
      • getHeight

        @Nullable
        public @Nullable Integer getHeight()
        Used to limit the maximum height of the exported image. 0 = No restriction minimum: 0
        Returns:
        height
      • setHeight

        public void setHeight​(Integer height)
      • getJpegQuality

        @Nullable
        public @Nullable Integer getJpegQuality()
        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. minimum: 0 maximum: 100
        Returns:
        jpegQuality
      • setJpegQuality

        public void setJpegQuality​(Integer jpegQuality)
      • getMetrics

        @Nullable
        public @Nullable OperationTiff.MetricsEnum getMetrics()
        Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches
        Returns:
        metrics
      • getMultipage

        @Nullable
        public @Nullable Boolean getMultipage()
        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.
        Returns:
        multipage
      • setMultipage

        public void setMultipage​(Boolean multipage)
      • getWidth

        @Nullable
        public @Nullable Integer getWidth()
        Used to limit the maximum width of the exported image. 0 = No restriction minimum: 0
        Returns:
        width
      • setWidth

        public void setWidth​(Integer width)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object