-
Notifications
You must be signed in to change notification settings - Fork 113
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
Trouble doing basic loading #311
Comments
The code should work fine in node or browser. Try with one of the test datasets and if you still have issues post the full stack trace. |
The dicom file used is the one provided in your Stacktrace is here
I have made a repro here : https://github.com/vjau/dcmjs-try Node v14.20.0 |
Thanks for making the sample. Did you try changing this line to https://github.com/vjau/dcmjs-try/blob/1283caae8a16a37bfe5a4cc513297eaa0c3f7e33/main.js#L4 |
I tested with |
It's indeed working replacing |
Hi,
i'm trying this library for the first time and have trouble with basic operations, trying to run this in node.
With this code and provided test dicom
I get following error
I am not an expert in node binary handling, but i suppose a node
Buffer
should be accepted as anArrayBuffer
.Or is this project only for the browser ?
Thank you.
The text was updated successfully, but these errors were encountered: