Skip to content

Commit

Permalink
Fix some decoding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wayfarer3130 committed Dec 5, 2023
1 parent 4557a4b commit 23993ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/dicomImageLoader/src/imageLoader/internal/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ let options: LoaderOptions = {
imageCreated(/* image */) {
// image created code
},
strict: false,
decodeConfig: {
convertFloatPixelDataToInt: true,
use16BitDataType: false,
},
};

export function setOptions(newOptions: LoaderOptions): void {
Expand Down

0 comments on commit 23993ce

Please sign in to comment.