Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRXS: fix PNG tile support #146

Merged
merged 1 commit into from
May 6, 2022

Conversation

melissalinkert
Copy link
Member

Fixes #124.

https://openslide.cs.cmu.edu/download/openslide-testdata/Mirax/Mirax2.2-4-PNG.zip reproduces the issue. Without this PR, attempting to convert Mirax2.2-4-PNG.mrxs should throw ArrayIndexOutOfBoundsException many times, as noted in #124. With this PR, the same conversion should succeed, and running raw2ometiff afterwards should produce an OME-TIFF that looks reasonable in QuPath/showinf.

Copy link
Member

@muhanadz muhanadz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without the PR, testing Mirax2.2-4-PNG.mrxs with:

Version = 0.4.0
Bio-Formats version = 6.8.0

throws multiple ArrayIndexOutOfBoundsException

With the PR, testing Mirax2.2-4-PNG.mrxs with:

Version = 0.4.1-SNAPSHOT
Bio-Formats version = 6.8.0

throws no exception. The output file was converted to OME-TIFF using raw2ometiff with no problems. The OME-TIFF opens and looks as expected in QuPath with multiple series and resolution pyramids.

@chris-allan chris-allan merged commit 4c2ff9c into glencoesoftware:master May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Unable to convert slides with PNG images
3 participants