Mercurial > hg > orthanc-dicomweb
changeset 766:b2d7a0d9bd62
Fixed rendering of multiframe RGB48 images (requires the latest OrthancFramework)
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Wed, 17 Jun 2026 16:26:52 +0200 |
| parents | 3d266adce4b9 |
| children | cf0f5c9780bc |
| files | NEWS Plugin/WadoRsRetrieveRendered.cpp |
| diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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) =========================
--- 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;
