dicom-microscopy-viewer 0.48.19 → 0.48.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12377,6 +12377,7 @@ var ColorTransformer = /*#__PURE__*/function (_Transformer) {
12377
12377
  dicomicc.then(function (instance) {
12378
12378
  _this2.codec = instance;
12379
12379
  for (var index = 0; index < _this2.metadata.length; index++) {
12380
+ var _this2$codec$DcmIccOu, _this2$codec$DcmIccOu2;
12380
12381
  var columns = _this2.metadata[index].Columns;
12381
12382
  var rows = _this2.metadata[index].Rows;
12382
12383
  var bitsPerSample = _this2.metadata[index].BitsAllocated;
@@ -12394,7 +12395,7 @@ var ColorTransformer = /*#__PURE__*/function (_Transformer) {
12394
12395
  bitsPerSample: bitsPerSample,
12395
12396
  samplesPerPixel: samplesPerPixel,
12396
12397
  planarConfiguration: planarConfiguration
12397
- }, profile);
12398
+ }, profile, (_this2$codec$DcmIccOu = (_this2$codec$DcmIccOu2 = _this2.codec.DcmIccOutputType) === null || _this2$codec$DcmIccOu2 === void 0 ? void 0 : _this2$codec$DcmIccOu2.SRGB) !== null && _this2$codec$DcmIccOu !== void 0 ? _this2$codec$DcmIccOu : 0);
12398
12399
  }
12399
12400
  resolve(_this2.transformers);
12400
12401
  }, reject);