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
TIFFTagSets. 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.
Forcing reading of fields corresponding to TIFFTags
not in any of the allowed TIFFTagSets may be effected via
setReadUnknownTags.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAllowedTagSet(TIFFTagSet
a tagSet)TIFFTagSet.Adds a |
| public List | Returns: aList of TIFFTagSets.Returns a |
| public boolean | Returns: Whether to read fields of unrecognized tagsRetrieve the setting of whether to read fields corresponding to unknown
|
| public void | removeAllowedTagSet(TIFFTagSet
a tagSet)TIFFTagSet.Removes a |
| public void | setReadUnknownTags(boolean
Whether to read fields of unrecognized tags readUnknownTags)Set whether to read fields corresponding to |
| allowedTagSets | back to summary |
|---|---|
| private final List<TIFFTagSet> allowedTagSets | |
| readUnknownTags | back to summary |
|---|---|
| private boolean readUnknownTags | |
| TIFFImageReadParam | back to summary |
|---|---|
| public TIFFImageReadParam() Constructs a | |
| addAllowedTagSet | back to summary |
|---|---|
| public void addAllowedTagSet(TIFFTagSet tagSet) Adds a
| |
| getAllowedTagSets | back to summary |
|---|---|
| public List Returns a
| |
| getReadUnknownTags | back to summary |
|---|---|
| public boolean getReadUnknownTags() Retrieve the setting of whether to read fields corresponding to unknown
| |
| removeAllowedTagSet | back to summary |
|---|---|
| public void removeAllowedTagSet(TIFFTagSet tagSet) Removes a
| |
| setReadUnknownTags | back to summary |
|---|---|
| public void setReadUnknownTags(boolean readUnknownTags) Set whether to read fields corresponding to
| |