Commit e38c066
feat(codecs, loadImage): Switch to WASM Codecs, use image load into distinct 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 <danny.ri.brown@gmail.com>
Co-authored-by: Alireza <ar.sedghi@gmail.com>1 parent 8135e0b commit e38c066
File tree
111 files changed
+10471
-13400
lines changed- .circleci
- codecs
- config
- karma
- webpack
- docs
- examples
- customWebWorkerTask
- dicomfile
- test-images
- utils
- wadors
- wadourimultiframe
- wadouri
- src
- imageLoader
- colorSpaceConverters
- internal
- wadors
- wadouri
- metaData
- webWorker
- decodeTask
- testImages
- test
- imageLoader
- wadors
- wadouri
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
111 files changed
+10471
-13400
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| 87 | + | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
| |||
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | | - | |
| 118 | + | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
125 | | - | |
| 124 | + | |
126 | 125 | | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
131 | | - | |
| 130 | + | |
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
| |||
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | | - | |
| 141 | + | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| |||
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | | - | |
| 154 | + | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
159 | | - | |
| 158 | + | |
160 | 159 | | |
161 | 160 | | |
162 | 161 | | |
| |||
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
169 | | - | |
| 168 | + | |
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
| |||
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
183 | | - | |
184 | | - | |
| 182 | + | |
| 183 | + | |
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
189 | 188 | | |
190 | | - | |
191 | | - | |
| 189 | + | |
| 190 | + | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
| |||
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | | - | |
| 201 | + | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
207 | | - | |
| 206 | + | |
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 | | |
This file was deleted.
0 commit comments