-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(codecs, loadImage): Switch to WASM Codecs, use image load into d…
…istinct queues for retrievals and decoding (#394) * jest tests * starting to commit @dannyrb's changes * add example data * wip * wip * chore: minor cleanup for Promises * get tests working (except one jpegbaseline test) * chore: Remove usePDFJS option. Start migrating to Webpack 5 * almost working * tests work, example works for everything except libjpeg-turbo * cleanup old uses of regeneratorRuntime * wip * fixes after rebase * commented out wip attempting to build an ESM version. Giving up for now * wip trying to get it working in OHIF * fix wrong import in libjpeg-turbo * wasm working in OHIF hooray * Make a separate entrypoint for useWebWorkers: false and remove it from config * fix: deflate support via pako, eslint fixes * fix: Upgrade to dicom-parser 1.8.8 to fix deflate usage * fix tests, not sure why deleting charls instance breaks them... * fix: Clean up WASM Memory usage. Update to decode-only versions of codecs * tests: switch to ChromeHeadless * tests: re-include deflate test * chore: fix renamed tests to revert jest changes * chore: cleanup unused code, rename function in decodeImageFrame * chore: fix initializeCodecsOnStartup * chore: cleanup unnecessary changes * fix package-lock * fix circle builds * ci: add netlify.toml * fix cp command * fix urls in examples * fix: beforeSend headers merge with default headers * fix: Switch back to jpeg.js for 12 bit jpeg baseline images for now, at least until WASM build is ready * upgrade package dependencies, add bundle version for package distribution * eslint in tests * fixes for bundle and dynamic import builds, everything seems to be working * mark as v4.0.0-rc1 * fix prepublish * fix: add empty publicPath string to prevent test failures in downstream libraries * bump to v4.0.0-rc2 * fix examples and dev server usage * try to fix script tag usage * fix: correct path in dicomfile example * move some codecs to dynamic imports * bump to v4.0.0-rc3 * wip on splitting loading into two queues * fix splitting * chore: use IMAGE_LOAD_PROGRESS event, remove warning * perf(loadimage): use imageRetrievalPool from cornerstone-core when retrieving images BREAKING CHANGE: An external dependency must be updated to a higher version. Co-authored-by: dannyrb <[email protected]> Co-authored-by: Alireza <[email protected]>
- Loading branch information
1 parent
8135e0b
commit e38c066
Showing
111 changed files
with
10,471 additions
and
13,400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Browsers that we support | ||
|
||
> 1% | ||
IE 11 | ||
not dead | ||
not op_mini all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
{ | ||
"presets": [["@babel/preset-env"]], | ||
"plugins": ["@babel/plugin-proposal-object-rest-spread"] | ||
"presets": ["@babel/preset-env"], | ||
"plugins": [ | ||
["@babel/plugin-proposal-object-rest-spread"], | ||
["@babel/plugin-transform-runtime", | ||
{ | ||
"regenerator": true, | ||
"corejs": 3 | ||
}] | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.