This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
The following commit(s) were added to refs/heads/master by this push: new 587ed90a Javadoc 587ed90a is described below commit 587ed90ae60455908ced023a1b17ab0438455bc1 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun May 14 10:45:34 2023 -0400 Javadoc --- .../tiff/constants/AdobePhotoshopTagConstants.java | 2 +- .../constants/AliasSketchbookProTagConstants.java | 2 +- .../formats/tiff/constants/ExifTagConstants.java | 11 ++-- .../formats/tiff/constants/GpsTagConstants.java | 62 +++++++++++----------- .../MolecularDynamicsGelTagConstants.java | 2 +- .../tiff/constants/Rfc2301TagConstants.java | 2 +- 6 files changed, 41 insertions(+), 40 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AdobePhotoshopTagConstants.java b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AdobePhotoshopTagConstants.java index 325a85f9..7e15ac75 100644 --- a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AdobePhotoshopTagConstants.java +++ b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AdobePhotoshopTagConstants.java @@ -24,7 +24,7 @@ import org.apache.commons.imaging.formats.tiff.taginfos.TagInfo; import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoUndefineds; /** - * TIFF specification supplement 2 + * TIFF specification supplement 2. * <p> * Adobe Photoshop (R) TIFF Technical Notes * </p> diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AliasSketchbookProTagConstants.java b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AliasSketchbookProTagConstants.java index 9d4fda4b..6cdad43f 100644 --- a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AliasSketchbookProTagConstants.java +++ b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/AliasSketchbookProTagConstants.java @@ -24,7 +24,7 @@ import org.apache.commons.imaging.formats.tiff.taginfos.TagInfo; import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoAscii; /** - * Alias Sketchbook Pro multi-layer TIFF + * Alias Sketchbook Pro multi-layer TIFF. * <p> * http://www.awaresystems.be/imaging/tiff/tifftags/docs/alias.html * </p> diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/ExifTagConstants.java b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/ExifTagConstants.java index 16c85e55..11dd4cd6 100644 --- a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/ExifTagConstants.java +++ b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/ExifTagConstants.java @@ -42,11 +42,12 @@ import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoUnknowns; /** * References: - * http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html - * http://tiki-lounge.com/~raf/tiff/fields.html - * http://www.awaresystems.be/imaging/tiff/tifftags.html - * - * "Stonits": http://www.anyhere.com/gward/pixformat/tiffluv.html + * <ul> + * <li>http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html</li> + * <li>http://tiki-lounge.com/~raf/tiff/fields.html</li> + * <li>http://www.awaresystems.be/imaging/tiff/tifftags.html</li> + * <li>"Stonits": http://www.anyhere.com/gward/pixformat/tiffluv.html</li> + * </ul> */ public final class ExifTagConstants { diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java index b6a4cc7b..f6afe5f8 100644 --- a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java +++ b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java @@ -37,7 +37,7 @@ public final class GpsTagConstants { private static final byte[] GPS_VERSION = { (byte)2, (byte)3, (byte)0, (byte)0 }; - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_LATITUDE_REF = new TagInfoAscii( "GPSLatitudeRef", 0x0001, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -45,11 +45,11 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_LATITUDE_REF_VALUE_NORTH = "N"; public static final String GPS_TAG_GPS_LATITUDE_REF_VALUE_SOUTH = "S"; - // ************************************************************ + public static final TagInfoRationals GPS_TAG_GPS_LATITUDE = new TagInfoRationals( "GPSLatitude", 0x0002, 3, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_LONGITUDE_REF = new TagInfoAscii( "GPSLongitudeRef", 0x0003, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -57,11 +57,11 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_LONGITUDE_REF_VALUE_EAST = "E"; public static final String GPS_TAG_GPS_LONGITUDE_REF_VALUE_WEST = "W"; - // ************************************************************ + public static final TagInfoRationals GPS_TAG_GPS_LONGITUDE = new TagInfoRationals( "GPSLongitude", 0x0004, 3, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoByte GPS_TAG_GPS_ALTITUDE_REF = new TagInfoByte( "GPSAltitudeRef", 0x0005, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -69,21 +69,21 @@ public final class GpsTagConstants { public static final int GPS_TAG_GPS_ALTITUDE_REF_VALUE_ABOVE_SEA_LEVEL = 0; public static final int GPS_TAG_GPS_ALTITUDE_REF_VALUE_BELOW_SEA_LEVEL = 1; - // ************************************************************ + public static final TagInfoRational GPS_TAG_GPS_ALTITUDE = new TagInfoRational( "GPSAltitude", 0x0006, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoRationals GPS_TAG_GPS_TIME_STAMP = new TagInfoRationals( "GPSTimeStamp", 0x0007, 3, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_SATELLITES = new TagInfoAscii( "GPSSatellites", 0x0008, -1, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_STATUS = new TagInfoAscii( "GPSStatus", 0x0009, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -91,18 +91,18 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_STATUS_VALUE_MEASUREMENT_IN_PROGRESS = "A"; public static final String GPS_TAG_GPS_STATUS_VALUE_MEASUREMENT_INTEROPERABILITY = "V"; - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_MEASURE_MODE = new TagInfoAscii( "GPSMeasureMode", 0x000a, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); public static final int GPS_TAG_GPS_MEASURE_MODE_VALUE_2_DIMENSIONAL_MEASUREMENT = 2; public static final int GPS_TAG_GPS_MEASURE_MODE_VALUE_3_DIMENSIONAL_MEASUREMENT = 3; - // ************************************************************ + public static final TagInfoRational GPS_TAG_GPS_DOP = new TagInfoRational( "GPSDOP", 0x000b, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_SPEED_REF = new TagInfoAscii( "GPSSpeedRef", 0x000c, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -111,11 +111,11 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_SPEED_REF_VALUE_MPH = "M"; public static final String GPS_TAG_GPS_SPEED_REF_VALUE_KNOTS = "N"; - // ************************************************************ + public static final TagInfoRational GPS_TAG_GPS_SPEED = new TagInfoRational( "GPSSpeed", 0x000d, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_TRACK_REF = new TagInfoAscii( "GPSTrackRef", 0x000e, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -123,11 +123,11 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_TRACK_REF_VALUE_MAGNETIC_NORTH = "M"; public static final String GPS_TAG_GPS_TRACK_REF_VALUE_TRUE_NORTH = "T"; - // ************************************************************ + public static final TagInfoRational GPS_TAG_GPS_TRACK = new TagInfoRational( "GPSTrack", 0x000f, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_IMG_DIRECTION_REF = new TagInfoAscii( "GPSImgDirectionRef", 0x0010, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -135,16 +135,16 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_IMG_DIRECTION_REF_VALUE_MAGNETIC_NORTH = "M"; public static final String GPS_TAG_GPS_IMG_DIRECTION_REF_VALUE_TRUE_NORTH = "T"; - // ************************************************************ + public static final TagInfoRational GPS_TAG_GPS_IMG_DIRECTION = new TagInfoRational( "GPSImgDirection", 0x0011, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_MAP_DATUM = new TagInfoAscii( "GPSMapDatum", 0x0012, -1, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_DEST_LATITUDE_REF = new TagInfoAscii( "GPSDestLatitudeRef", 0x0013, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -152,11 +152,11 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_DEST_LATITUDE_REF_VALUE_NORTH = "N"; public static final String GPS_TAG_GPS_DEST_LATITUDE_REF_VALUE_SOUTH = "S"; - // ************************************************************ + public static final TagInfoRationals GPS_TAG_GPS_DEST_LATITUDE = new TagInfoRationals( "GPSDestLatitude", 0x0014, 3, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_DEST_LONGITUDE_REF = new TagInfoAscii( "GPSDestLongitudeRef", 0x0015, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -164,11 +164,11 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_DEST_LONGITUDE_REF_VALUE_EAST = "E"; public static final String GPS_TAG_GPS_DEST_LONGITUDE_REF_VALUE_WEST = "W"; - // ************************************************************ + public static final TagInfoRationals GPS_TAG_GPS_DEST_LONGITUDE = new TagInfoRationals( "GPSDestLongitude", 0x0016, 3, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_DEST_BEARING_REF = new TagInfoAscii( "GPSDestBearingRef", 0x0017, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -176,11 +176,11 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_DEST_BEARING_REF_VALUE_MAGNETIC_NORTH = "M"; public static final String GPS_TAG_GPS_DEST_BEARING_REF_VALUE_TRUE_NORTH = "T"; - // ************************************************************ + public static final TagInfoRational GPS_TAG_GPS_DEST_BEARING = new TagInfoRational( "GPSDestBearing", 0x0018, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_DEST_DISTANCE_REF = new TagInfoAscii( "GPSDestDistanceRef", 0x0019, 2, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -189,26 +189,26 @@ public final class GpsTagConstants { public static final String GPS_TAG_GPS_DEST_DISTANCE_REF_VALUE_MILES = "M"; public static final String GPS_TAG_GPS_DEST_DISTANCE_REF_VALUE_NAUTICAL_MILES = "N"; - // ************************************************************ + public static final TagInfoRational GPS_TAG_GPS_DEST_DISTANCE = new TagInfoRational( "GPSDestDistance", 0x001a, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoGpsText GPS_TAG_GPS_PROCESSING_METHOD = new TagInfoGpsText( "GPSProcessingMethod", 0x001b, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoGpsText GPS_TAG_GPS_AREA_INFORMATION = new TagInfoGpsText( "GPSAreaInformation", 0x001c, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoAscii GPS_TAG_GPS_DATE_STAMP = new TagInfoAscii( "GPSDateStamp", 0x001d, 11, TiffDirectoryType.EXIF_DIRECTORY_GPS); - // ************************************************************ + public static final TagInfoShort GPS_TAG_GPS_DIFFERENTIAL = new TagInfoShort( "GPSDifferential", 0x001e, TiffDirectoryType.EXIF_DIRECTORY_GPS); @@ -216,7 +216,7 @@ public final class GpsTagConstants { public static final int GPS_TAG_GPS_DIFFERENTIAL_VALUE_NO_CORRECTION = 0; public static final int GPS_TAG_GPS_DIFFERENTIAL_VALUE_DIFFERENTIAL_CORRECTED = 1; - // ************************************************************ + public static final List<TagInfo> ALL_GPS_TAGS = Collections.unmodifiableList(Arrays.asList( GPS_TAG_GPS_VERSION_ID, GPS_TAG_GPS_LATITUDE_REF, diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/MolecularDynamicsGelTagConstants.java b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/MolecularDynamicsGelTagConstants.java index cf6225ca..1028084f 100644 --- a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/MolecularDynamicsGelTagConstants.java +++ b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/MolecularDynamicsGelTagConstants.java @@ -27,7 +27,7 @@ import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoRational; import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoShorts; /** - * Molecular Dynamics GEL file format + * Molecular Dynamics GEL file format. * <p> * http://www.awaresystems.be/imaging/tiff/tifftags/docs/gel.html * </p> diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/Rfc2301TagConstants.java b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/Rfc2301TagConstants.java index b8641780..ede88597 100644 --- a/src/main/java/org/apache/commons/imaging/formats/tiff/constants/Rfc2301TagConstants.java +++ b/src/main/java/org/apache/commons/imaging/formats/tiff/constants/Rfc2301TagConstants.java @@ -32,7 +32,7 @@ import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoShortOrLong; import org.apache.commons.imaging.formats.tiff.taginfos.TagInfoShorts; /** - * RFC 2301: File Format for Internet Fax + * RFC 2301: File Format for Internet Fax. * <p> * www.ietf.org/rfc/rfc2301.txt * </p>