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(ImageWriteParam param) |
Modifier and Type | Method and Description |
---|---|
void |
setMetadata(IIOMetadata metadata)
Sets the value of the
metadata field. |
encode, finalize, initJPEGWriter
getCompressionTagValue, getCompressionType, getMetadata, getStream, getWriter, isCompressionLossless, setStream, setWriter
public TIFFJPEGCompressor(ImageWriteParam param)
public void setMetadata(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