@radicalimaging/static-wado-creator 1.2.2 → 1.2.3
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.
package/lib/mkdicomwebConfig.js
CHANGED
|
@@ -152,9 +152,9 @@ const { mkdicomwebConfig } = ConfigPoint.register({
|
|
|
152
152
|
arguments: ["input"],
|
|
153
153
|
main: createMain,
|
|
154
154
|
helpDescription:
|
|
155
|
-
"Make DICOMweb query and metadata from binary Part 10 DICOM files. Does a full read
|
|
156
|
-
"deduplicated files each time a study instance UID is found, and only updates
|
|
157
|
-
"having at least one ",
|
|
155
|
+
"Make DICOMweb query and metadata from binary Part 10 DICOM files. Does a full read\n" +
|
|
156
|
+
"of deduplicated files each time a study instance UID is found, and only updates\n" +
|
|
157
|
+
"those studies having at least one ",
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
command: "index",
|
|
@@ -194,7 +194,8 @@ async function transcodeImageFrame(id, targetIdSrc, imageFrame, dataSet, options
|
|
|
194
194
|
let result = {};
|
|
195
195
|
|
|
196
196
|
const samplesPerPixel = dataSet.uint16(Tags.RawSamplesPerPixel);
|
|
197
|
-
|
|
197
|
+
const planarConfiguration = dataSet.uint16("x00280006");
|
|
198
|
+
if (!shouldTranscodeImageFrame(id, options, samplesPerPixel) || planarConfiguration === 1) {
|
|
198
199
|
console.verbose("Shouldn't transcode");
|
|
199
200
|
return {
|
|
200
201
|
id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@radicalimaging/static-wado-creator",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Library to convert DICOMP10 to DICOMweb format. Original upstream: https://github.com/chafey/dicomp10-to-dicomweb-js",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|