Skip to content

Commit 33fad24

Browse files
authored
Merge pull request #548 from fclof/patch-1
Fix reading arrays of Float64 in TIFF files
2 parents c864f0c + cdfce38 commit 33fad24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/com/drew/imaging/tiff/TiffReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ private static void processTag(@NotNull final TiffHandler handler,
300300
} else {
301301
double[] array = new double[componentCount];
302302
for (int i = 0; i < componentCount; i++)
303-
array[i] = reader.getDouble64(tagValueOffset + (i * 4));
303+
array[i] = reader.getDouble64(tagValueOffset + (i * 8));
304304
handler.setDoubleArray(tagId, array);
305305
}
306306
break;

0 commit comments

Comments
 (0)