public class TIFFJPEGCompressor extends TIFFBaseJPEGCompressor
IMAGE_METADATA_NAME, JPEGParam, JPEGStreamMetadata, JPEGWriter, STREAM_METADATA_NAME, writeAbbreviatedStream
compressionTagValue, compressionType, isCompressionLossless, metadata, stream, writer
Constructor and Description |
---|
TIFFJPEGCompressor(javax.imageio.ImageWriteParam param) |
Modifier and Type | Method and Description |
---|---|
void |
setMetadata(javax.imageio.metadata.IIOMetadata metadata)
Sets the value of the
metadata field. |
encode, finalize, initJPEGWriter
getCompressionTagValue, getCompressionType, getMetadata, getStream, getWriter, isCompressionLossless, setStream, setWriter
public TIFFJPEGCompressor(javax.imageio.ImageWriteParam param)
public void setMetadata(javax.imageio.metadata.IIOMetadata metadata)
metadata
field.
The implementation in this class also adds the TIFF fields JPEGTables, YCbCrSubSampling, YCbCrPositioning, and ReferenceBlackWhite superseding any prior settings of those fields.
setMetadata
in class TIFFCompressor
metadata
- the IIOMetadata
object for the
image being written.TIFFCompressor.getMetadata()
Copyright © 2014 Open Microscopy Environment