Page 1 of 1

[Solved]: SVS to TIFF conversion is failling

PostPosted: Mon Apr 25, 2016 7:53 am
by felix.veysseyre
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 !

Re: SVS to TIFF conversion is failling

PostPosted: Mon Apr 25, 2016 2:48 pm
by rleigh
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

Re: SVS to TIFF conversion is failling

PostPosted: Mon Apr 25, 2016 4:59 pm
by rleigh
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

Re: SVS to TIFF conversion is failling

PostPosted: Mon Apr 25, 2016 5:13 pm
by rleigh
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

Re: SVS to TIFF conversion is failling

PostPosted: Tue Apr 26, 2016 11:38 am
by felix.veysseyre
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

Re: SVS to TIFF conversion is failling

PostPosted: Wed Apr 27, 2016 5:04 pm
by sbesson
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

Re: SVS to TIFF conversion is failling

PostPosted: Wed May 18, 2016 9:01 am
by felix.veysseyre
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

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

PostPosted: Wed May 18, 2016 6:23 pm
by sbesson
Hi Félix,

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

Best,
Sebastien