@cornerstonejs/dicom-image-loader 2.1.16 → 2.1.18
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.
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export = jpeg.lossless.Utils;
|
|
2
|
+
export = jpeg.lossless.Utils;
|
|
3
|
+
declare namespace Utils {
|
|
4
|
+
function createArray(length: any, ...args: any[]): any[];
|
|
5
|
+
function makeCRCTable(): number[];
|
|
6
|
+
function crc32(dataView: any): number;
|
|
7
|
+
}
|
|
@@ -6,6 +6,9 @@ export default function isColorConversionRequired(imageFrame) {
|
|
|
6
6
|
if (pixelDataLength === 4 * columns * rows) {
|
|
7
7
|
return false;
|
|
8
8
|
}
|
|
9
|
+
if (photometricInterpretation === 'PALETTE COLOR') {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
9
12
|
if (photometricInterpretation.endsWith('420')) {
|
|
10
13
|
return (pixelDataLength ===
|
|
11
14
|
(3 * Math.ceil(columns / 2) + Math.floor(columns / 2)) * rows);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/dicom-image-loader",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.18",
|
|
4
4
|
"description": "Cornerstone Image Loader for DICOM WADO-URI and WADO-RS and Local file",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"DICOM",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"uuid": "^9.0.0"
|
|
116
116
|
},
|
|
117
117
|
"peerDependencies": {
|
|
118
|
-
"@cornerstonejs/core": "^2.1.
|
|
118
|
+
"@cornerstonejs/core": "^2.1.18",
|
|
119
119
|
"dicom-parser": "^1.8.9"
|
|
120
120
|
},
|
|
121
121
|
"lint-staged": {
|
|
@@ -130,5 +130,5 @@
|
|
|
130
130
|
"path": "./node_modules/cz-conventional-changelog"
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "e20cf17f217a6bfcc145bab57717d49ff339ee98"
|
|
134
134
|
}
|