# HG changeset patch # User Sebastien Jodogne # Date 1745326234 -7200 # Node ID 9672a22d013d3455b4250ecefab08db5277a54cf # Parent c1cc403eae8ec94576687551a9aa8e4445e59741 NEWS diff -r c1cc403eae8e -r 9672a22d013d Applications/StoneWebViewer/NEWS --- a/Applications/StoneWebViewer/NEWS Tue Apr 22 14:45:28 2025 +0200 +++ b/Applications/StoneWebViewer/NEWS Tue Apr 22 14:50:34 2025 +0200 @@ -2,14 +2,17 @@ =============================== * Experimental support for DICOM SR "Measurement Report" (TID 1500) -* Automatically stretch to whole range for images without preset -* Improved support of the (0028,9132) tag for Philips multiframe images -* Remember the previous layout when re-opening the viewer -* Added a Print button in the PDF viewer toolbar -* Added a Download button in the PDF viewer toolbar +* Added "Print" and "Download" buttons in the PDF viewer toolbar * New configuration "ScreenshotTemplate" to define the filename generated by the "Download as JPEG" button. New default value is: "{PatientID}-{PatientName}-{StudyDate}-{SeriesDescription}-{InstanceNumber}-{CurrentFrame}.jpg" +* Remember the previous layout when re-opening the viewer + +Maintenance +----------- + +* Automatically stretch to whole range for images without windowing preset +* Improved support of the (0028,9132) tag for Philips multiframe images * Fix loading of US images with a negative PhyiscalDeltaX value diff -r c1cc403eae8e -r 9672a22d013d Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp --- a/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp Tue Apr 22 14:45:28 2025 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp Tue Apr 22 14:50:34 2025 +0200 @@ -519,6 +519,10 @@ (!structure.HasFrameNumber() || structure.GetFrameNumber() == frameNumber)) { +#if 1 + // Default color: green + const OrthancStone::Color color(0, 255, 0); +#else OrthancStone::Color color(0, 0, 255); if (structure.HasProbabilityOfCancer()) @@ -532,6 +536,7 @@ color = OrthancStone::Color(0, 255, 0); } } +#endif switch (structure.GetType()) {