changeset 2212:9672a22d013d

NEWS
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Apr 2025 14:50:34 +0200
parents c1cc403eae8e
children a8066ce6bacc b66c827a4a5c
files Applications/StoneWebViewer/NEWS Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp
diffstat 2 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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
 
 
--- 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())
         {