mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -04:00
Fixed some typos.
This commit is contained in:
parent
00e68d6035
commit
5cb44fa20b
@ -784,7 +784,7 @@ public class TIFFImageReader extends ImageReaderBase {
|
|||||||
imageInput.seek(jpegOffset);
|
imageInput.seek(jpegOffset);
|
||||||
|
|
||||||
// NOTE: Some known TIFF encoder encodes bad JPEGInterchangeFormat tags,
|
// NOTE: Some known TIFF encoder encodes bad JPEGInterchangeFormat tags,
|
||||||
// but has the correct offset to the JPEG stream in the StripOffset tag.
|
// but has the correct offset to the JPEG stream in the StripOffsets tag.
|
||||||
long realJPEGOffset = jpegOffset;
|
long realJPEGOffset = jpegOffset;
|
||||||
|
|
||||||
short expectedSOI = (short) (imageInput.readByte() << 8 | imageInput.readByte());
|
short expectedSOI = (short) (imageInput.readByte() << 8 | imageInput.readByte());
|
||||||
@ -799,7 +799,7 @@ public class TIFFImageReader extends ImageReaderBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (realJPEGOffset != jpegOffset) {
|
if (realJPEGOffset != jpegOffset) {
|
||||||
processWarningOccurred("Incorrect JPEGInterchangeFormat tag, using StripOffset/TileOffset instead.");
|
processWarningOccurred("Incorrect JPEGInterchangeFormat tag, using StripOffsets/TileOffsets instead.");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
processWarningOccurred("Incorrect JPEGInterchangeFormat tag encountered (not a valid SOI marker).");
|
processWarningOccurred("Incorrect JPEGInterchangeFormat tag encountered (not a valid SOI marker).");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user