Searched refs:firstIfdOffset (Results 1 – 2 of 2) sorted by relevance
2941 int firstIfdOffset = dataInputStream.readInt(); in parseTiffHeaders() local2942 if (firstIfdOffset < 8 || firstIfdOffset >= exifBytesLength) { in parseTiffHeaders()2943 throw new IOException("Invalid first Ifd offset: " + firstIfdOffset); in parseTiffHeaders()2945 firstIfdOffset -= 8; in parseTiffHeaders()2946 if (firstIfdOffset > 0) { in parseTiffHeaders()2947 if (dataInputStream.skipBytes(firstIfdOffset) != firstIfdOffset) { in parseTiffHeaders()2948 throw new IOException("Couldn't jump to first Ifd: " + firstIfdOffset); in parseTiffHeaders()
5305 int firstIfdOffset = dataInputStream.readInt();5306 if (firstIfdOffset < 8 || firstIfdOffset >= exifBytesLength) {5307 throw new IOException("Invalid first Ifd offset: " + firstIfdOffset);5309 firstIfdOffset -= 8;5310 if (firstIfdOffset > 0) {5311 if (dataInputStream.skipBytes(firstIfdOffset) != firstIfdOffset) {5312 throw new IOException("Couldn't jump to first Ifd: " + firstIfdOffset);