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

Already on GitHub? Sign in to your account

MRXS with JPEGXR tiles #184

Open
alexsavio opened this Issue Oct 26, 2016 · 2 comments

Comments

Projects
None yet
2 participants

Context

Issue type (bug report or feature request): feature request
Operating system (e.g. Fedora 24, Mac OS 10.11, Windows 10): Ubuntu 16.04
Platform (e.g. 64-bit x86, 32-bit ARM): 64-bit x86
OpenSlide version: 3.4.1
Slide format (e.g. SVS, NDPI, MRXS): MRXS

Details

Hi,

I've been looking around but can't find any easy solution to open a .mrxs file with JPEGXR compression.
Any idea if someone is developing this?
Any hint on how I could add this feature to openslide, maybe by using libjxr?

Owner

bgilbert commented Oct 31, 2016

Thanks for the report. I'm not aware of anyone working on this; feel free to take it! Here are the changes that would be needed:

  • configure.ac should check for jxrlib and arrange to link with it.
  • A new decoder, openslide-decode-jxr.c, should provide a function that uses jxrlib to decode a JPEG XR image to ARGB from a buffer.
  • In openslide-vendor-mirax.c, read_image() and parse_image_format() should be updated accordingly.
  • We'll need a test case, which will require a sample JXR slide. We can handle that part later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment