bfconvert "File is too large" Error
Posted: Wed Jun 10, 2015 1:41 pm
Hi all,
I'm using v5.1.2 and trying to use bfconvert on the command line to convert a single series within a .vsi image pyramid into .ome.tiff. Here's the command that I am running:
./bfconvert -series 7 -compression LZW INPUT_IMAGE.vsi OUTPUT_IMAGE.ome.tiff
The program runs for a long time, and the OUTPUT_IMAGE.ome.tiff file grows to about 5.7 GB. Then this errors happens:
Exception in thread "main" loci.formats.FormatException: File is too large; call setBigTiff(true)
at loci.formats.out.TiffWriter.prepareToWriteImage(TiffWriter.java:343)
at loci.formats.out.TiffWriter.saveBytes(TiffWriter.java:221)
at loci.formats.out.OMETiffWriter.saveBytes(OMETiffWriter.java:190)
at loci.formats.tools.ImageConverter.convertTilePlane(ImageConverter.java:731)
at loci.formats.tools.ImageConverter.convertPlane(ImageConverter.java:617)
at loci.formats.tools.ImageConverter.testConvert(ImageConverter.java:549)
at loci.formats.tools.ImageConverter.main(ImageConverter.java:874)
I was under the impression that BigTIFFs could grow to 18,000 petabytes, give or take. Can anyone tell me what's happening here?
Matt
I'm using v5.1.2 and trying to use bfconvert on the command line to convert a single series within a .vsi image pyramid into .ome.tiff. Here's the command that I am running:
./bfconvert -series 7 -compression LZW INPUT_IMAGE.vsi OUTPUT_IMAGE.ome.tiff
The program runs for a long time, and the OUTPUT_IMAGE.ome.tiff file grows to about 5.7 GB. Then this errors happens:
Exception in thread "main" loci.formats.FormatException: File is too large; call setBigTiff(true)
at loci.formats.out.TiffWriter.prepareToWriteImage(TiffWriter.java:343)
at loci.formats.out.TiffWriter.saveBytes(TiffWriter.java:221)
at loci.formats.out.OMETiffWriter.saveBytes(OMETiffWriter.java:190)
at loci.formats.tools.ImageConverter.convertTilePlane(ImageConverter.java:731)
at loci.formats.tools.ImageConverter.convertPlane(ImageConverter.java:617)
at loci.formats.tools.ImageConverter.testConvert(ImageConverter.java:549)
at loci.formats.tools.ImageConverter.main(ImageConverter.java:874)
I was under the impression that BigTIFFs could grow to 18,000 petabytes, give or take. Can anyone tell me what's happening here?
Matt