We're Hiring!

[Solved]: SVS to TIFF conversion is failling

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.

[Solved]: SVS to TIFF conversion is failling

Postby felix.veysseyre » Mon Apr 25, 2016 7:53 am

Hello,

This post is a duplicate of https://github.com/openmicroscopy/biofo ... ssues/2366.
I do not know where I should post. Here or on the issue tracker of GitHub ?

I have been trying to convert to TIFF numerous SVS files with bfconvert.
They all seem corrupted.

Here is the result (opened with GIMP) of the conversion of http://openslide.cs.cmu.edu/download/op ... 3003-1.svs:

Image

Here is the command line I have been using:
Code: Select all
.../bfconvert -bigtiff -series 0 ".../JP2K-33003-1.svs" ".../%z.%t.%c.tiff"


I am using latest bftools on Mac OS X 10.11 (but same thing is happening on Ubuntu 14.04):
Code: Select all
felixveysseyre$ ./bfconvert -version
Version: 5.1.9
VCS revision: c3065feb775a7a8c0cc2cf6e35979331cca2418b
Build date: 15 April 2016


Thanks for your help !
Last edited by felix.veysseyre on Wed May 18, 2016 9:01 am, edited 1 time in total.
felix.veysseyre
 
Posts: 4
Joined: Wed Dec 02, 2015 8:25 am

Re: SVS to TIFF conversion is failling

Postby rleigh » Mon Apr 25, 2016 2:48 pm

Dear Felix,

I have tried to reproduce your bug with the information you provided using some of our sample SVS files. Unfortunately, I've not been able to do so with either 5.1 or our current development version. It may be that the metadata or pixel data in our SVS files differs from yours.

Edit: Sorry, I didn't notice the link to the original file; I'll test with that.

Kind regards,
Roger
User avatar
rleigh
 
Posts: 217
Joined: Tue Mar 13, 2012 11:45 am

Re: SVS to TIFF conversion is failling

Postby rleigh » Mon Apr 25, 2016 4:59 pm

Dear Felix,

I was able to reproduce the problem with your image and 5.1.9, but it was working fine for me with the current 5.2 development milestone. It looks like there is a fix which needs backporting to 5.1: https://github.com/openmicroscopy/bioformats/pull/2168

If you would like to build Bio-Formats from git (dev_5_1 with the four commits in the above PR cherry-picked), this should give you a working version. http://www.openmicroscopy.org/site/supp ... rmats.html has some instructions; "ant jars tools" should be sufficient.


Kind regards,
Roger
User avatar
rleigh
 
Posts: 217
Joined: Tue Mar 13, 2012 11:45 am

Re: SVS to TIFF conversion is failling

Postby rleigh » Mon Apr 25, 2016 5:13 pm

Dear Felix,

I backported this and opened https://github.com/openmicroscopy/bioformats/pull/2371 for the next 5.1 release. If you want to build this, that will save the cherry-picking mentioned in the previous message.


Regards,
Roger
User avatar
rleigh
 
Posts: 217
Joined: Tue Mar 13, 2012 11:45 am

Re: SVS to TIFF conversion is failling

Postby felix.veysseyre » Tue Apr 26, 2016 11:38 am

Thanks for your help !

I have been able to compiled the branch associated to your pull request.

The conversion from SVS to TIFF seems to work correctly now.

Do you know when the next 5.1 version will be released ?

Best regards,
Félix
felix.veysseyre
 
Posts: 4
Joined: Wed Dec 02, 2015 8:25 am

Re: SVS to TIFF conversion is failling

Postby sbesson » Wed Apr 27, 2016 5:04 pm

Hi Félix,

thanks for the testing update. In addition to the fix backported by Roger, we are also investigated a logging regression. Once addressed, we are considering a Bio-Formats 5.1.10 release which would resolve these two issues.

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: SVS to TIFF conversion is failling

Postby felix.veysseyre » Wed May 18, 2016 9:01 am

Hi Sebastien,

Thanks for all the info !

I downloaded 5.1.10 version and tested it. Everything seems to work correctly.

Best regards,
Félix
felix.veysseyre
 
Posts: 4
Joined: Wed Dec 02, 2015 8:25 am

Re: [Solved]: SVS to TIFF conversion is failling

Postby sbesson » Wed May 18, 2016 6:23 pm

Hi Félix,

thanks for letting us know. Glad to hear the 5.1.10 release was useful.

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest