Class TIFFTranscoder

All Implemented Interfaces:
Transcoder

public class TIFFTranscoder extends ImageTranscoder
This class is an ImageTranscoder that produces a TIFF image.
Version:
$Id: TIFFTranscoder.java 1810083 2017-09-29 10:39:45Z ssteiner $
  • Field Details

    • KEY_FORCE_TRANSPARENT_WHITE

      public static final TranscodingHints.Key KEY_FORCE_TRANSPARENT_WHITE
      The forceTransparentWhite key.
      Key: KEY_FORCE_TRANSPARENT_WHITE
      Value: Boolean
      Default: false
      Required: No
      Description: It controls whether the encoder should force the image's fully transparent pixels to be fully transparent white instead of fully transparent black. This is useful when the encoded TIFF is displayed in a viewer which does not support TIFF transparency and lets the image display with a white background instead of a black background.
      However, note that the modified image will display differently over a white background in a viewer that supports transparency.
    • KEY_COMPRESSION_METHOD

      public static final TranscodingHints.Key KEY_COMPRESSION_METHOD
      The compression method for the image.
      Key: KEY_COMPRESSION_METHOD
      Value: String ("none", "packbits", "jpeg" etc.)
      Default: "none" (no compression)
      Required: Recommended
      Description: Specify the compression method used to encode the image.
  • Constructor Details

    • TIFFTranscoder

      public TIFFTranscoder()
      Constructs a new transcoder that produces tiff images.
  • Method Details