Possible Memory Leak with Multiframe DICOM (Orthanc+OHIF)

In order to overcome the Orthanc convert YBR to RGB but does not change metadata issue, I’m forcing OHIF to interpret all YBR US studies as RGB by:

changing the source code in /platform/core/src/classes/MetadataProvider.ts
: case WADO_IMAGE_LOADER_TAGS.IMAGE_PIXEL_MODULE, to:
photometricInterpretation: instance.Modality === “US” && instance.PhotometricInterpretation.startsWith(“YBR”)
? “RGB”
: instance.PhotometricInterpretation

This is not an adequate fix though, and I’m hoping you and Alain can agree on how this is to be resolved long-term.