We're Hiring!

"Buffer is too small" using bfconvert

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

"Buffer is too small" using bfconvert

Postby CMunich » Wed Sep 04, 2013 11:46 am

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!
CMunich
 
Posts: 1
Joined: Wed Sep 04, 2013 11:41 am

Re: "Buffer is too small" using bfconvert

Postby mlinkert » Thu Sep 05, 2013 2:01 pm

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
User avatar
mlinkert
Team Member
 
Posts: 353
Joined: Fri May 29, 2009 2:12 pm
Location: Southwest Wisconsin


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest