Orthanc convert YBR to RGB but does not change metadata

Hi Alireza,

I have just tested it here first without any IngestTranscoding configured on Orthanc side: they both remain in JPEG Baseline and the Photometric stays unchanged (which is expected).

Then, I have configured IngestTranscoding to 1.2.840.10008.1.2.1 and, once ingested into Orthanc, their PhotometricInterpretation is updated to RGB and they still display fine. I have also played with the GDCM plugin configuration but always got the same result.

Could you define your setup and test more in details ?

[EDIT]: note that I realized that I tested with the mainline version which includes this patch related to YBR to RGB conversion.

Best regards,

Alain.