openslide icon indicating copy to clipboard operation
openslide copied to clipboard

Add support for reversible JP2K DICOM (trivial patch)

Open jcupitt opened this issue 5 months ago • 5 comments

Lossless JP2K usually has PhotometricInterpretation set to YBR_RCT (reversible YCbCr). OpenJPEG does the conversion to RGB, so we can just use the RGB path in this case.

See https://github.com/openslide/openslide/issues/662

jcupitt avatar Jul 22 '25 21:07 jcupitt

DCO signed off :heavy_check_mark:

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.

openslide-bot avatar Jul 22 '25 21:07 openslide-bot

The linked issue has a couple of sample images which load correctly with this PR.

jcupitt avatar Jul 22 '25 21:07 jcupitt

What is the status of this?

dclunie avatar Nov 27 '25 15:11 dclunie

@bgilbert I guess this didn't make it into the latest release (4.0.0.10) :(

dclunie avatar Dec 08 '25 16:12 dclunie

4.0.0.10 is just the tenth binary build of 4.0.0, with updated dependencies etc.. The OpenSlide code is the same.

This is still on my radar. The plan is to finish some infrastructure changes so we can more easily add new test slides within the limitations of the GitHub CI runners.

bgilbert avatar Dec 09 '25 02:12 bgilbert