Adrien
Adrien
That'd be awesome! It's not a blocking point for me currently (if that matters), but I suppose that it makes sense to shape the API into something future-proof earlier than...
If you're using the wadouri image loader, `cancelFn` is indeed undefined in https://github.com/cornerstonejs/cornerstone3D/blob/4d12d9d2ecf38805e7c9ca7e93bf36372bfe85ff/packages/dicomImageLoader/src/imageLoader/wadouri/loadImage.ts#L53 and https://github.com/cornerstonejs/cornerstone3D/blob/4d12d9d2ecf38805e7c9ca7e93bf36372bfe85ff/packages/dicomImageLoader/src/imageLoader/wadouri/loadImage.ts#L156 .
I'm running into the same issue (`.local/share/zed/languages/rust-analyzer/rust-analyzer-2024-11-11/` is empty). The log says: ``` 2024-11-15T16:44:43.091929975+01:00 [INFO] downloading language server "rust-analyzer" 2024-11-15T16:44:43.847866221+01:00 [INFO] failed to fetch newest version of language server LanguageServerName("rust-analyzer")....
looking at the error message, it seems that commit 1e14697bb64a27c842e3400c54735e62b97e3483 might help when it gets released
This also happens with https://www.cornerstonejs.org/live-examples/stackbasic , which I suppose is using the latest cornerstone version (I'm on iOS 17.3.1). I have the same issue with cornerstone 1.58.4.
https://www.cornerstonejs.org/live-examples/webloader works though, so maybe this is an issue with the dicom loader?
From what I could gather so far: - the DICOM loader seems to do its job fine and is not at fault - forcing CPU rendering works around the issue...
I hacked `updateVTKImageDataWithCornerstoneImage` to remap single channel (Float32Array numComponents=1) to three-channel images (Uint8Array numComponents=3), and the image displays on iOS correctly now. That doesn't really tell what the problem is,...
I now have a reduced test case using only vtk.js: ```typescript import '@kitware/vtk.js/Rendering/Profiles/Volume'; import vtkImageData from '@kitware/vtk.js/Common/DataModel/ImageData'; import vtkDataArray from '@kitware/vtk.js/Common/Core/DataArray'; import vtkFullScreenRenderWindow from '@kitware/vtk.js/Rendering/Misc/FullScreenRenderWindow'; import vtkImageMapper from '@kitware/vtk.js/Rendering/Core/ImageMapper'; import...
I added [a hacky patch](https://github.com/Kitware/vtk-js/issues/3027#issuecomment-1977625325) to the vtk bug thread, which fixes loading regular DICOM images for me on iOS. It's not meant as a bullet proof or general solution,...