You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{readImageDicomFileSeries,setPipelinesBaseUrlassetDICOMPipelinesBaseUrl,getPipelinesBaseUrlasgetDICOMPipelinesBaseUrl,}from"@itk-wasm/dicom"import{readImage,setPipelinesBaseUrlassetIOPipelinesBaseUrl,getPipelinesBaseUrlasgetIOPipelinesBaseUrl,}from"@itk-wasm/image-io"// Set pipeline URLs based on environmentif(process.env.NODE_ENV==='development'){setDICOMPipelinesBaseUrl('/node_modules/@itk-wasm/dicom/dist/pipelines');setIOPipelinesBaseUrl('/node_modules/@itk-wasm/image-io/dist/pipelines');}else{setDICOMPipelinesBaseUrl('/pipelines');setIOPipelinesBaseUrl('/pipelines');}
Another important point is when create window in electron side, set the nodeIntegrationInWorker to false.
Please provide some example about @itk-wasm/dicom like this: https://github.com/InsightSoftwareConsortium/ITK-Wasm/tree/main/examples/vite
The text was updated successfully, but these errors were encountered: