5
5
< title > TIFF Metadata Format Specification and Usage Notes</ title >
6
6
</ head >
7
7
<!--
8
- Copyright (c) 2015, 2019 , Oracle and/or its affiliates. All rights reserved.
8
+ Copyright (c) 2015, 2020 , Oracle and/or its affiliates. All rights reserved.
9
9
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
10
10
11
11
This code is free software; you can redistribute it and/or modify it
@@ -72,9 +72,9 @@ <h1>TIFF Metadata Format Specification and Usage Notes</h1>
72
72
73
73
< h2 > < a id ="Reading "> Reading Images</ a > </ h2 >
74
74
75
- TIFF images are read by an < a href =" ../../ ImageReader.html " > ImageReader</ a >
75
+ TIFF images are read by an {@link javax.imageio. ImageReader ImageReader}
76
76
which may be controlled by its public interface as well as via a supplied
77
- < a href =" ../../ plugins/ tiff/TIFFImageReadParam.html " > TIFFImageReadParam</ a > .
77
+ {@link javax.imageio. plugins. tiff. TIFFImageReadParam TIFFImageReadParam} .
78
78
79
79
<!-- <h3>Supported Image Types</h3> -->
80
80
@@ -90,7 +90,7 @@ <h3><a id="ColorConversionRead">Color Conversion</a></h3>
90
90
< h3 > < a id ="ColorSpacesRead "> Color Spaces</ a > </ h3 >
91
91
92
92
The raw color space assigned by default, i.e., in the absence of a
93
- user-supplied < a href =" ../../ ImageTypeSpecifier.html " > ImageTypeSpecifier</ a > ,
93
+ user-supplied {@link javax.imageio. ImageTypeSpecifier ImageTypeSpecifier} ,
94
94
will be the first among the following which applies:
95
95
96
96
< ul >
@@ -158,8 +158,8 @@ <h3><a id="ColorSpacesRead">Color Spaces</a></h3>
158
158
< h3 > < a id ="ICCProfilesRead "> ICC Profiles</ a > </ h3 >
159
159
160
160
If an ICC profile is contained in the image metadata
161
- (< a href =" ../../ plugins/ tiff/ BaselineTIFFTagSet.html " >
162
- BaselineTIFFTagSet </ a > . TAG_ICC_PROFILE, tag number 34675),
161
+ ({@link javax.imageio. plugins. tiff. BaselineTIFFTagSet BaselineTIFFTagSet}.
162
+ TAG_ICC_PROFILE, tag number 34675),
163
163
an attempt will be made to use it to create the color space
164
164
of the loaded image. It will be used if the data layout is of component type
165
165
and the number of samples per pixel equals or is one greater than the number
@@ -174,15 +174,13 @@ <h3><a id="ICCProfilesRead">ICC Profiles</a></h3>
174
174
< li > Obtain the image metadata from
175
175
< code > ImageReader.getImageMetadata</ code > </ li >
176
176
< li > Extract the ICC profile field and its value.</ li >
177
- < li > Create an < a href ="../../../../java/awt/color/ICC_ColorSpace.html ">
178
- ICC_ColorSpace</ a > from an
179
- < a href ="../../../../java/awt/color/ICC_Profile.html ">
180
- ICC_Profile</ a > created from the ICC profile field data
177
+ < li > Create an {@link java.awt.color.ICC_ColorSpace ICC_ColorSpace} from an
178
+ {@link java.awt.color.ICC_Profile ICC_Profile} created from the ICC profile field data
181
179
using < code > ICC_Profile.getInstance(byte[])</ code > .</ li >
182
180
< li > Create an < code > ImageTypeSpecifier</ code > from the new color
183
181
space using one of its factory methods which accepts an
184
182
< code > ICC_ColorSpace</ code > .
185
- < li > Create a compatible < a href =" ../../ ImageReadParam.html " > ImageReadParam</ a >
183
+ < li > Create a compatible {@link javax.imageio. ImageReadParam ImageReadParam}
186
184
and set the < code > ImageTypeSpecifier</ code > using
187
185
< code > ImageReadParam.setDestinationType</ code > .</ li >
188
186
< li > Pass the parameter object to the appropriate < code > read</ code > method.</ li >
@@ -206,7 +204,7 @@ <h3><a id="MetadataIssuesRead">Metadata Issues</a></h3>
206
204
metadata. The reader is informed to disregard all metadata as usual via the
207
205
< code > ignoreMetadata</ code > parameter of
208
206
< code > ImageReader.setInput(Object,boolean,boolean)</ code > . It is
209
- informed of which < a href =" ../../ plugins/ tiff/TIFFTag.html " > TIFFTag</ a > s to
207
+ informed of which {@link javax.imageio. plugins. tiff. TIFFTag TIFFTag} s to
210
208
recognize or not to recognize via
211
209
< code > TIFFImageReadParam.addAllowedTagSet(TIFFTagSet)</ code > and
212
210
< code > TIFFImageReadParam.removeAllowedTagSet(TIFFTagSet)</ code > .
@@ -221,7 +219,7 @@ <h3><a id="MetadataIssuesRead">Metadata Issues</a></h3>
221
219
< code > TIFFImageReadParam.setReadUnknownTags(boolean)</ code > has been
222
220
invoked with parameter < code > true</ code > .
223
221
224
- < p > Use of a < a href =" ../../ plugins/ tiff/TIFFDirectory.html " > TIFFDirectory</ a >
222
+ < p > Use of a {@link javax.imageio. plugins. tiff. TIFFDirectory TIFFDirectory}
225
223
object may simplify gaining access to metadata values. An instance of
226
224
< code > TIFFDirectory</ code > may be created from the < code > IIOMetadata</ code >
227
225
object returned by the TIFF reader using the
@@ -481,9 +479,9 @@ <h4><a id="ExifReadJPEG">Reading Compressed Exif Images</a></h4>
481
479
482
480
< h2 > < a id ="Writing "> Writing Images</ a > </ h2 >
483
481
484
- TIFF images are written by a < a href =" ../../ ImageWriter.html " > ImageWriter</ a > which may be
482
+ TIFF images are written by a {@link javax.imageio. ImageWriter ImageWriter} which may be
485
483
controlled by its public interface as well as via a supplied
486
- < a href =" ../../ ImageWriteParam.html " > ImageWriteParam</ a > . For an < code > ImageWriteParam</ code > returned
484
+ {@link javax.imageio. ImageWriteParam ImageWriteParam} . For an < code > ImageWriteParam</ code > returned
487
485
by the < code > getDefaultWriteParam()</ code > method of the TIFF < code > ImageWriter</ code > ,
488
486
the < code > canWriteTiles()</ code > and < code > canWriteCompressed()</ code > methods
489
487
will return < code > true</ code > ; the < code > canOffsetTiles()</ code > and
@@ -631,9 +629,9 @@ <h3><a id="ICCProfilesWrite">ICC Profiles</a></h3>
631
629
An < code > ICC Profile</ code > field will be written if either:
632
630
< ul >
633
631
< li > one is present in the native image metadata
634
- < a href =" ../IIOMetadata.html " > IIOMetadata</ a > instance supplied to the writer,
632
+ {@link javax.imageio.metadata. IIOMetadata IIOMetadata} instance supplied to the writer,
635
633
or</ li >
636
- < li > the < a href =" ../../../../ java/ awt/ color/ColorSpace.html " > ColorSpace</ a >
634
+ < li > the {@link java. awt. color. ColorSpace ColorSpace}
637
635
of the destination < code > ImageTypeSpecifier</ code > is an instance of
638
636
< code > ICC_ColorSpace</ code > which is not one of the standard
639
637
color spaces defined by the < code > CS_*</ code > constants in the
@@ -748,7 +746,7 @@ <h3><a id="MetadataIssuesWrite">Metadata Issues</a></h3>
748
746
< p > Setting up the image metadata to write to a TIFF stream may be simplified
749
747
by using the < code > TIFFDirectory</ code > class
750
748
which represents a TIFF IFD. A field in a TIFF IFD is represented by an
751
- instance of < a href =" ../../ plugins/ tiff/TIFFField.html " > TIFFField</ a > . For each
749
+ instance of {@link javax.imageio. plugins. tiff. TIFFField TIFFField} . For each
752
750
field to be written a < code > TIFFField</ code > may be added to the
753
751
< code > TIFFDirectory</ code > and the latter converted to an
754
752
< code > IIOMetadata</ code > object by invoking
0 commit comments