# HG changeset patch # User Alain Mazy # Date 1781706412 -7200 # Node ID b2d7a0d9bd6215052c694137e89510f3046562f7 # Parent 3d266adce4b92415a5a62ac6996a54c87cc0bb24 Fixed rendering of multiframe RGB48 images (requires the latest OrthancFramework) diff -r 3d266adce4b9 -r b2d7a0d9bd62 NEWS --- a/NEWS Wed Jun 17 16:25:05 2026 +0200 +++ b/NEWS Wed Jun 17 16:26:52 2026 +0200 @@ -2,6 +2,7 @@ =============================== * Clarified error message when trying to access a single frame from a video in WADO-RS. +* Fixed rendering of multiframe RGB48 images (TODO: requires the latest OrthancFramework) Version 1.23 (2026-04-15) ========================= diff -r 3d266adce4b9 -r b2d7a0d9bd62 Plugin/WadoRsRetrieveRendered.cpp --- a/Plugin/WadoRsRetrieveRendered.cpp Wed Jun 17 16:25:05 2026 +0200 +++ b/Plugin/WadoRsRetrieveRendered.cpp Wed Jun 17 16:26:52 2026 +0200 @@ -999,7 +999,8 @@ Orthanc::PixelFormat targetFormat; OrthancPluginPixelFormat sdkFormat; - if (dicom.GetPixelFormat() == OrthancPluginPixelFormat_RGB24) + if (dicom.GetPixelFormat() == OrthancPluginPixelFormat_RGB24 || + dicom.GetPixelFormat() == OrthancPluginPixelFormat_RGB48) { targetFormat = Orthanc::PixelFormat_RGB24; sdkFormat = OrthancPluginPixelFormat_RGB24;