mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 11:05:29 -04:00
TMI-JPEG: Fixed typos in exception messages.
This commit is contained in:
parent
dc63fac8ef
commit
5531c863cf
@ -202,7 +202,7 @@ final class EXIFThumbnailReader extends ThumbnailReader {
|
|||||||
Entry width = ifd.getEntryById(TIFF.TAG_IMAGE_WIDTH);
|
Entry width = ifd.getEntryById(TIFF.TAG_IMAGE_WIDTH);
|
||||||
|
|
||||||
if (width == null) {
|
if (width == null) {
|
||||||
throw new IIOException("Missing dimensions for unknown EXIF thumbnail");
|
throw new IIOException("Missing dimensions for uncompressed EXIF thumbnail");
|
||||||
}
|
}
|
||||||
|
|
||||||
return ((Number) width.getValue()).intValue();
|
return ((Number) width.getValue()).intValue();
|
||||||
@ -221,7 +221,7 @@ final class EXIFThumbnailReader extends ThumbnailReader {
|
|||||||
Entry height = ifd.getEntryById(TIFF.TAG_IMAGE_HEIGHT);
|
Entry height = ifd.getEntryById(TIFF.TAG_IMAGE_HEIGHT);
|
||||||
|
|
||||||
if (height == null) {
|
if (height == null) {
|
||||||
throw new IIOException("Missing dimensions for unknown EXIF thumbnail");
|
throw new IIOException("Missing dimensions for uncompressed EXIF thumbnail");
|
||||||
}
|
}
|
||||||
|
|
||||||
return ((Number) height.getValue()).intValue();
|
return ((Number) height.getValue()).intValue();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user