Skip to content
Open
2 changes: 1 addition & 1 deletion packages/dicomImageLoader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@cornerstonejs/codec-libjpeg-turbo-8bit": "^1.2.2",
"@cornerstonejs/codec-openjpeg": "^1.2.2",
"@cornerstonejs/codec-openjph": "^2.4.5",
"cod-dicomweb-server": "^1.3.11",
"cod-dicomweb-server": "^1.3.14",
"comlink": "^4.4.1",
"dicom-parser": "^1.8.9",
"jpeg-lossless-decoder-js": "^2.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/dicomImageLoader/src/imageLoader/wadors/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export default function () {

// initialize the CodDicomWebServer
registerImageLoader('cod', loadImage as unknown as Types.ImageLoaderFn);
const MAXIMUM_WORKER_FETCH_SIZE = 2 * 1_073_741_824; // 2 x 1 GB
const MAXIMUM_CACHE_SIZE = 4 * 1_073_741_824; // 4 x 1 GB
const codDicomWebServer = new CodDicomWebServer({
maxWorkerFetchSize: MAXIMUM_WORKER_FETCH_SIZE,
enableLocalCache: true,
maxCacheSize: MAXIMUM_CACHE_SIZE,
enableOPFSCache: true,
});
setWadoRsWebServer(codDicomWebServer);
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6577,10 +6577,10 @@ co@^4.6.0:
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==

cod-dicomweb-server@^1.3.11:
version "1.3.11"
resolved "https://registry.yarnpkg.com/cod-dicomweb-server/-/cod-dicomweb-server-1.3.11.tgz#a8e0d0111ac890bd5651887a1deaaa6f4bcdb17f"
integrity sha512-HqcshVYzt4dWAKZjEsK+QYSE3vqJ4L5xXqCklDmGyQhRyANDN3Y6MedM3K9WBhl+Utw9qvenrLc+lbGrjt3L0A==
cod-dicomweb-server@^1.3.14:
version "1.3.14"
resolved "https://registry.yarnpkg.com/cod-dicomweb-server/-/cod-dicomweb-server-1.3.14.tgz#93b4906f3d36f83bfbdeb6f1b9891afefede7c50"
integrity sha512-4/GlnzGTIa/w0v3qMxU6hHKuixQz+GhArTNaNPY2XXUu7IaGheSWd1EzXT3wV7a7NdK1IVAUJzelQ0xXEiUCIg==
dependencies:
comlink "^4.4.2"
dicom-parser "^1.8.21"
Expand Down