You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/16 15:27:46 UTC
(commons-imaging) branch master updated (a0ade287 -> 50e3dc5a)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
from a0ade287 Organize imports
new 24ca917c Remove useless cast
new 50e3dc5a Fix spelling
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../commons/imaging/formats/tiff/datareaders/DataReaderTiled.java | 2 +-
.../org/apache/commons/imaging/examples/tiff/ReadTagsAndImages.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
(commons-imaging) 02/02: Fix spelling
Posted by gg...@apache.org.
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
commit 50e3dc5a6a2b802de5c061afd493616a81bcfb68
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 16 10:27:39 2023 -0500
Fix spelling
---
.../org/apache/commons/imaging/examples/tiff/ReadTagsAndImages.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/imaging/examples/tiff/ReadTagsAndImages.java b/src/test/java/org/apache/commons/imaging/examples/tiff/ReadTagsAndImages.java
index 00607e8e..ce603ff9 100644
--- a/src/test/java/org/apache/commons/imaging/examples/tiff/ReadTagsAndImages.java
+++ b/src/test/java/org/apache/commons/imaging/examples/tiff/ReadTagsAndImages.java
@@ -596,10 +596,10 @@ public class ReadTagsAndImages {
// Note: The y coordinate of the model pixel scale is backwards.
// GeoTIFF images are stored from upper-left corner downward
// (following the conventional graphics standards). In cases
- // where the rows in the image or rster run from north to south,
+ // where the rows in the image or raster run from north to south,
// one might expect that the delta-Y between rows would be
// a negative number. But by the GeoTIFF standard,
- // the verical spacing is given as a postive number.
+ // the vertical spacing is given as a positive number.
final TiffField pixelScaleField = directory.findField(
GeoTiffTagConstants.EXIF_TAG_MODEL_PIXEL_SCALE_TAG);
double[] pixelScale;
(commons-imaging) 01/02: Remove useless cast
Posted by gg...@apache.org.
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
commit 24ca917ce9fe9b7f7205eb66641705da684d39ce
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 16 10:27:25 2023 -0500
Remove useless cast
---
.../commons/imaging/formats/tiff/datareaders/DataReaderTiled.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java
index 7378a4a5..c0513522 100644
--- a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java
+++ b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java
@@ -275,7 +275,7 @@ public final class DataReaderTiled extends ImageDataReader {
"TIFF file in non-supported configuration: JPEG compression used in planar configuration.");
}
DataInterpreterJpeg.intepretBlock(directory, workingBuilder,
- x, y, tileWidth, (int) tileLength, compressed);
+ x, y, tileWidth, tileLength, compressed);
continue;
}