diff ViewerPlugin/viewer.js @ 330:c42083d50ddf

Added support for DICOM tag "Recommended Absent Pixel CIELab" (0048,0015)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 18 Oct 2024 13:08:55 +0200
parents 0683312e21ba
children
line wrap: on
line diff
--- a/ViewerPlugin/viewer.js	Fri Oct 18 08:48:53 2024 +0200
+++ b/ViewerPlugin/viewer.js	Fri Oct 18 13:08:55 2024 +0200
@@ -63,6 +63,8 @@
         alert('Error - Cannot get the pyramid structure of series: ' + seriesId);
       },
       success : function(series) {
+        $('#map').css('background', series['BackgroundColor']);  // New in WSI 2.1
+
         var width = series['TotalWidth'];
         var height = series['TotalHeight'];
         var countLevels = series['Resolutions'].length;