public class TIFFImageReadParam extends ImageReadParam
ImageReadParam
allowing control over
the TIFF reading process.
Because TIFF is an extensible format, the reader requires information about any tags used by TIFF extensions in order to emit meaningful metadata. Also, TIFF extensions may define new compression types. Both types of information about extensions may be provided by this interface.
Additional TIFF tags must be organized into
TIFFTagSet
s. A TIFFTagSet
may be
provided to the reader by means of the
addAllowedTagSet
method. By default, the tag sets
BaselineTIFFTagSet
, FaxTIFFTagSet
,
ExifParentTIFFTagSet
, and GeoTIFFTagSet
are included.
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset
Constructor and Description |
---|
TIFFImageReadParam()
Constructs a
TIFFImageReadParam . |
Modifier and Type | Method and Description |
---|---|
void |
addAllowedTagSet(TIFFTagSet tagSet)
Adds a
TIFFTagSet object to the list of allowed
tag sets. |
List<TIFFTagSet> |
getAllowedTagSets()
Returns a
List containing the allowed
TIFFTagSet objects. |
void |
removeAllowedTagSet(TIFFTagSet tagSet)
Removes a
TIFFTagSet object from the list of
allowed tag sets. |
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
public TIFFImageReadParam()
TIFFImageReadParam
. Tags defined by
the TIFFTagSet
s BaselineTIFFTagSet
,
FaxTIFFTagSet
, ExifParentTIFFTagSet
, and
GeoTIFFTagSet
will be supported.BaselineTIFFTagSet
,
FaxTIFFTagSet
,
ExifParentTIFFTagSet
,
GeoTIFFTagSet
public void addAllowedTagSet(TIFFTagSet tagSet)
TIFFTagSet
object to the list of allowed
tag sets.tagSet
- a TIFFTagSet
.IllegalArgumentException
- if tagSet
is
null
.public void removeAllowedTagSet(TIFFTagSet tagSet)
TIFFTagSet
object from the list of
allowed tag sets. Removal is based on the equals
method of the TIFFTagSet
, which is normally
defined as reference equality.tagSet
- a TIFFTagSet
.IllegalArgumentException
- if tagSet
is
null
.public List<TIFFTagSet> getAllowedTagSets()
List
containing the allowed
TIFFTagSet
objects.List
of TIFFTagSet
s. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait