Page 1 of 1

"Buffer is too small" using bfconvert

PostPosted: Wed Sep 04, 2013 11:46 am
by CMunich
Hey everybody,

I am just getting used to the loci_tools and tried to convert a .svs file to a .tiff using bfconvert. I start the batch file from the command prompt and get the error message:

Exception in thread "main" loci.formats.FormatException: Buffer is too small; expected 247164704 bytes, got 2248704 bytes.

I just try to convert one series of the original svs-file. The funny thing is: When I use the crop option and set it to the exact size of the image, it would work.

Does anybody have an idea on how to solve that issue?
Many thanks!

Re: "Buffer is too small" using bfconvert

PostPosted: Thu Sep 05, 2013 2:01 pm
by mlinkert
I am just getting used to the loci_tools and tried to convert a .svs file to a .tiff using bfconvert. I start the batch file from the command prompt and get the error message:

Exception in thread "main" loci.formats.FormatException: Buffer is too small; expected 247164704 bytes, got 2248704 bytes.



Could you please paste in the entire output of bfconvert?

I just try to convert one series of the original svs-file. The funny thing is: When I use the crop option and set it to the exact size of the image, it would work.

Does anybody have an idea on how to solve that issue?


I would suggest making sure that you have either the current stable release (4.4.8) or latest trunk build of Bio-Formats.
Code: Select all
bfconvert -version
should tell you which version is installed. If updating does not solve the problem, then it would help us to reproduce the problem if you could send the entire error message from above, and (if possible) the file that causes the error. Files can be uploaded here:

https://qa.openmicroscopy.org.uk/qa/upload/

-Melissa