You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user reported an exception when attempting to write 8 planes each of 429.9 Mb so a total data size of 3.44Gb. An exception is then thrown from the TiffWriter as it checks if there is enough space for 2 full planes from the end of the output stream:
* (width * height * c * bytesPerPixel)) >= 4294967296L;
if (isBigTiff) {
thrownewFormatException("File is too large; call setBigTiff(true)");
}
}
I was able to reproduce locally by writing an uncompressed file of size 12000 * 20000 * 2 * 8. If I manually override the check then a valid TIFF file is written under the threshold size and validates with tiffinfo.
The text was updated successfully, but these errors were encountered:
Issue was raised on forum thread https://forum.image.sc/t/possible-bio-formats-bfconvert-bigtiff-threshold-bug/88042
The user reported an exception when attempting to write 8 planes each of 429.9 Mb so a total data size of 3.44Gb. An exception is then thrown from the TiffWriter as it checks if there is enough space for 2 full planes from the end of the output stream:
bioformats/components/formats-bsd/src/loci/formats/out/TiffWriter.java
Lines 381 to 387 in e484e1f
I was able to reproduce locally by writing an uncompressed file of size 12000 * 20000 * 2 * 8. If I manually override the check then a valid TIFF file is written under the threshold size and validates with tiffinfo.
The text was updated successfully, but these errors were encountered: