Class TIFFJPEGCompressor


public class TIFFJPEGCompressor extends TIFFBaseJPEGCompressor
Compressor for encoding compression type 7, TTN2/Adobe JPEG-in-TIFF.
  • Field Details

  • Constructor Details

  • Method Details

    • getJPEGTablesReader

      private static ImageReader getJPEGTablesReader()
      Retrieves a JPEG reader which supports native JPEG stream metadata.
    • setMetadata

      public void setMetadata(IIOMetadata metadata)
      Sets the value of the metadata field.

      The implementation in this class also adds the TIFF fields JPEGTables, YCbCrSubSampling, YCbCrPositioning, and ReferenceBlackWhite superseding any prior settings of those fields.

      Overrides:
      setMetadata in class TIFFCompressor
      Parameters:
      metadata - the IIOMetadata object for the image being written.
      See Also: