-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use dicom-rs with wasm bindgen #39
Comments
Thank you for the example! I agree that the ergonomics of this API can be improved here. At some point the options builder pattern might be more interesting here. |
Thank you @Enet4 Yeah dropping the first 128 bytes did it
|
Closing, as the main concern appears to have been resolved, and the current behavior of the API is by design. Improvements to the API can be suggested in #43. |
Hey,
I'm trying to use
dicom-rs
with wasm bindgen for a subassembly app. So far I have something like this function to load a dicom file using JS fetchProblem is the line
let obj = from_reader(&mut file).unwrap()
fails with :I'm using the latest master. Not sure if the function I'm calling on the dicom-rs side is the right one. The import is the following:
use dicom_object::from_reader;
The text was updated successfully, but these errors were encountered: