dwv 0.26.0 → 0.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/decoders/dwv/decode-rle.js +22 -22
  2. package/decoders/dwv/rle.js +103 -103
  3. package/decoders/pdfjs/arithmetic_decoder.js +185 -185
  4. package/decoders/pdfjs/decode-jpeg2000.js +18 -18
  5. package/decoders/pdfjs/decode-jpegbaseline.js +18 -18
  6. package/decoders/pdfjs/jpg.js +1072 -1072
  7. package/decoders/pdfjs/jpx.js +2237 -2237
  8. package/decoders/pdfjs/readme.md +15 -15
  9. package/decoders/pdfjs/util.js +1588 -1588
  10. package/decoders/rii-mango/decode-jpegloss.js +34 -34
  11. package/decoders/rii-mango/lossless.js +1755 -1755
  12. package/decoders/rii-mango/readme.md +12 -12
  13. package/dist/dwv.js +27526 -27512
  14. package/dist/dwv.min.js +3 -3
  15. package/license.txt +674 -674
  16. package/locales/de/overlays.json +62 -62
  17. package/locales/de/translation.json +236 -236
  18. package/locales/en/overlays.json +62 -62
  19. package/locales/en/translation.json +236 -236
  20. package/locales/es/overlays.json +62 -62
  21. package/locales/es/translation.json +236 -236
  22. package/locales/fr/overlays.json +62 -62
  23. package/locales/fr/translation.json +236 -236
  24. package/locales/it/overlays.json +62 -62
  25. package/locales/it/translation.json +236 -236
  26. package/locales/jp/overlays.json +62 -62
  27. package/locales/jp/translation.json +236 -236
  28. package/locales/ro/overlays.json +62 -62
  29. package/locales/ro/translation.json +236 -236
  30. package/locales/ru/overlays.json +62 -62
  31. package/locales/ru/translation.json +236 -236
  32. package/locales/zh/overlays.json +62 -62
  33. package/locales/zh/translation.json +236 -236
  34. package/package.json +50 -50
  35. package/readme.md +66 -66
  36. package/build/dist/dwv.js +0 -27512
  37. package/build/dist/dwv.min.js +0 -3
  38. package/dist/dwv-0.26.0.min.js +0 -3
package/package.json CHANGED
@@ -1,50 +1,50 @@
1
- {
2
- "name": "dwv",
3
- "version": "0.26.0",
4
- "description": "DICOM Web Viewer.",
5
- "keywords": [
6
- "DICOM",
7
- "medical",
8
- "imaging"
9
- ],
10
- "license": "GPL-3.0",
11
- "author": "ivmartel <ivmartel@gmail.com>",
12
- "homepage": "https://ivmartel.github.io/dwv/",
13
- "repository": {
14
- "type": "git",
15
- "url": "git://github.com/ivmartel/dwv.git"
16
- },
17
- "main": "dist/dwv.min.js",
18
- "dependencies": {
19
- "i18next": "~12.1.0",
20
- "i18next-browser-languagedetector": "~3.0.0",
21
- "i18next-xhr-backend": "~2.0.0",
22
- "jszip": "~3.2.0",
23
- "konva": "~2.6.0",
24
- "magic-wand-js": "~1.0.0"
25
- },
26
- "devDependencies": {
27
- "grunt": "~1.0.3",
28
- "grunt-cli": "~1.3.2",
29
- "grunt-contrib-concat": "~1.0.1",
30
- "grunt-contrib-connect": "~2.0.0",
31
- "grunt-contrib-copy": "~1.0.0",
32
- "grunt-contrib-jshint": "~2.1.0",
33
- "grunt-contrib-uglify": "~4.0.0",
34
- "grunt-contrib-watch": "~1.1.0",
35
- "grunt-coveralls": "~2.0.0",
36
- "grunt-jsdoc": "~2.4.0",
37
- "grunt-qunit-istanbul": "~1.0.0",
38
- "http-server": "^0.11.1",
39
- "ink-docstrap": "~1.3.2",
40
- "qunit": "~2.9.1"
41
- },
42
- "scripts": {
43
- "lint": "grunt lint",
44
- "test": "grunt test",
45
- "test-ci": "grunt test-ci",
46
- "build": "grunt build",
47
- "doc": "grunt doc",
48
- "dev": "grunt dev"
49
- }
50
- }
1
+ {
2
+ "name": "dwv",
3
+ "version": "0.26.2",
4
+ "description": "DICOM Web Viewer.",
5
+ "keywords": [
6
+ "DICOM",
7
+ "medical",
8
+ "imaging"
9
+ ],
10
+ "license": "GPL-3.0",
11
+ "author": "ivmartel <ivmartel@gmail.com>",
12
+ "homepage": "https://ivmartel.github.io/dwv/",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git://github.com/ivmartel/dwv.git"
16
+ },
17
+ "main": "dist/dwv.min.js",
18
+ "dependencies": {
19
+ "i18next": "~12.1.0",
20
+ "i18next-browser-languagedetector": "~3.0.0",
21
+ "i18next-xhr-backend": "~2.0.0",
22
+ "jszip": "~3.2.0",
23
+ "konva": "~2.6.0",
24
+ "magic-wand-js": "~1.0.0"
25
+ },
26
+ "devDependencies": {
27
+ "grunt": "~1.0.3",
28
+ "grunt-cli": "~1.3.2",
29
+ "grunt-contrib-concat": "~1.0.1",
30
+ "grunt-contrib-connect": "~2.0.0",
31
+ "grunt-contrib-copy": "~1.0.0",
32
+ "grunt-contrib-jshint": "~2.1.0",
33
+ "grunt-contrib-uglify": "~4.0.0",
34
+ "grunt-contrib-watch": "~1.1.0",
35
+ "grunt-coveralls": "~2.0.0",
36
+ "grunt-jsdoc": "~2.4.0",
37
+ "grunt-qunit-istanbul": "~1.0.0",
38
+ "http-server": "^0.11.1",
39
+ "ink-docstrap": "~1.3.2",
40
+ "qunit": "~2.9.1"
41
+ },
42
+ "scripts": {
43
+ "lint": "grunt lint",
44
+ "test": "grunt test",
45
+ "test-ci": "grunt test-ci",
46
+ "build": "grunt build",
47
+ "doc": "grunt doc",
48
+ "dev": "grunt dev"
49
+ }
50
+ }
package/readme.md CHANGED
@@ -1,66 +1,66 @@
1
- DWV
2
- ===
3
-
4
- DWV (DICOM Web Viewer) is an open source zero footprint medical image viewer library. It uses _only_ javascript and HTML5 technologies, meaning that it can be run on any platform that provides a modern browser (laptop, tablet, phone and even modern TVs). It can load local or remote data in DICOM format (the standard for medical imaging data such as MR, CT, Echo, Mammo, NM...) and provides standard tools for its manipulation such as contrast, zoom, drag, possibility to draw regions on top of the image and imaging filters such as threshold and sharpening.
5
-
6
- [![Build Status](https://travis-ci.org/ivmartel/dwv.svg?branch=master)](https://travis-ci.org/ivmartel/dwv) [![Coverage Status](https://img.shields.io/coveralls/ivmartel/dwv.svg)](https://coveralls.io/r/ivmartel/dwv?branch=master) [![Code Climate](https://codeclimate.com/github/ivmartel/dwv.svg)](https://codeclimate.com/github/ivmartel/dwv) [![Dependency Status](https://david-dm.org/ivmartel/dwv.svg)](https://david-dm.org/ivmartel/dwv) [![npm](https://img.shields.io/npm/v/dwv.svg)](https://www.npmjs.com/package/dwv) [![Bower](https://img.shields.io/bower/v/dwv.svg)](https://libraries.io/bower/dwv)
7
- [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fivmartel%2Fdwv.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fivmartel%2Fdwv?ref=badge_shield)
8
-
9
- Try a [live demo](https://ivmartel.github.io/dwv/) and read a lot more information on the [wiki](https://github.com/ivmartel/dwv/wiki) (such as [Dicom-Support](https://github.com/ivmartel/dwv/wiki/Dicom-Support) or [Pacs-Support](https://github.com/ivmartel/dwv/wiki/Pacs-Support)). You can also check out the [example viewers](https://github.com/ivmartel/dwv/wiki/Examples#viewers-and-integrations) based on dwv.
10
-
11
- - All coding/implementation contributions and comments are welcome.
12
- - DWV is not certified for diagnostic use.<sup>[1](#footnote1)</sup>
13
- - Released under GNU GPL-3.0 license (see [license.txt](license.txt)).
14
-
15
- And for those who want to support the dwv development:
16
-
17
- [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VQWYY8ZS75H3E&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
18
-
19
- ## Steps to run the viewer from scratch
20
-
21
- Get the code:
22
- ```sh
23
- git clone https://github.com/ivmartel/dwv.git
24
- ```
25
-
26
- Move to its folder:
27
- ```sh
28
- cd dwv
29
- ```
30
-
31
- Install dependencies (using `yarn`, replace with `npm` if you prefer):
32
- ```sh
33
- yarn install
34
- ```
35
-
36
- Call the test script to launch the tests on a local server:
37
- ```sh
38
- yarn run test
39
- ```
40
-
41
- You can now open a browser at http://localhost:8080 and enjoy!
42
-
43
- ## Available Scripts
44
-
45
- ``` bash
46
- # install dependencies
47
- yarn install
48
-
49
- # run linting
50
- yarn run lint
51
-
52
- # run unit tests with hot reload at localhost:8080
53
- yarn run test
54
-
55
- # create release files
56
- yarn run build
57
-
58
- # create documentation
59
- yarn run doc
60
-
61
- # watch for changes and copy build (to be connected with a demo viewer)
62
- yarn run dev
63
-
64
- ```
65
-
66
- <a name="footnote1">1</a>: Certification refers to official medical software certification that are issued by the FDA or EU Notified Bodies. The sentence here serves as a reminder that the Dicom Web Viewer is not ceritifed, and comes with no warranties (and no possible liability of its authors) as stated in the [license](license.txt). To learn more about standards used in certification, see the [wikipedia Medical software](https://en.wikipedia.org/wiki/Medical_software) page. If you have additional questions, please [open an issue](https://www.github.com/ivmartel/dwv/issues).
1
+ DWV
2
+ ===
3
+
4
+ DWV (DICOM Web Viewer) is an open source zero footprint medical image viewer library. It uses _only_ javascript and HTML5 technologies, meaning that it can be run on any platform that provides a modern browser (laptop, tablet, phone and even modern TVs). It can load local or remote data in DICOM format (the standard for medical imaging data such as MR, CT, Echo, Mammo, NM...) and provides standard tools for its manipulation such as contrast, zoom, drag, possibility to draw regions on top of the image and imaging filters such as threshold and sharpening.
5
+
6
+ [![Build Status](https://travis-ci.org/ivmartel/dwv.svg?branch=master)](https://travis-ci.org/ivmartel/dwv) [![Coverage Status](https://img.shields.io/coveralls/ivmartel/dwv.svg)](https://coveralls.io/r/ivmartel/dwv?branch=master) [![Code Climate](https://codeclimate.com/github/ivmartel/dwv.svg)](https://codeclimate.com/github/ivmartel/dwv) [![Dependency Status](https://david-dm.org/ivmartel/dwv.svg)](https://david-dm.org/ivmartel/dwv) [![npm](https://img.shields.io/npm/v/dwv.svg)](https://www.npmjs.com/package/dwv) [![Bower](https://img.shields.io/bower/v/dwv.svg)](https://libraries.io/bower/dwv)
7
+ [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fivmartel%2Fdwv.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fivmartel%2Fdwv?ref=badge_shield)
8
+
9
+ Try a [live demo](https://ivmartel.github.io/dwv/) and read a lot more information on the [wiki](https://github.com/ivmartel/dwv/wiki) (such as [Dicom-Support](https://github.com/ivmartel/dwv/wiki/Dicom-Support) or [Pacs-Support](https://github.com/ivmartel/dwv/wiki/Pacs-Support)). You can also check out the [example viewers](https://github.com/ivmartel/dwv/wiki/Examples#viewers-and-integrations) based on dwv.
10
+
11
+ - All coding/implementation contributions and comments are welcome.
12
+ - DWV is not certified for diagnostic use.<sup>[1](#footnote1)</sup>
13
+ - Released under GNU GPL-3.0 license (see [license.txt](license.txt)).
14
+
15
+ And for those who want to support the dwv development:
16
+
17
+ [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VQWYY8ZS75H3E&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
18
+
19
+ ## Steps to run the viewer from scratch
20
+
21
+ Get the code:
22
+ ```sh
23
+ git clone https://github.com/ivmartel/dwv.git
24
+ ```
25
+
26
+ Move to its folder:
27
+ ```sh
28
+ cd dwv
29
+ ```
30
+
31
+ Install dependencies (using `yarn`, replace with `npm` if you prefer):
32
+ ```sh
33
+ yarn install
34
+ ```
35
+
36
+ Call the test script to launch the tests on a local server:
37
+ ```sh
38
+ yarn run test
39
+ ```
40
+
41
+ You can now open a browser at http://localhost:8080 and enjoy!
42
+
43
+ ## Available Scripts
44
+
45
+ ``` bash
46
+ # install dependencies
47
+ yarn install
48
+
49
+ # run linting
50
+ yarn run lint
51
+
52
+ # run unit tests with hot reload at localhost:8080
53
+ yarn run test
54
+
55
+ # create release files
56
+ yarn run build
57
+
58
+ # create documentation
59
+ yarn run doc
60
+
61
+ # watch for changes and copy build (to be connected with a demo viewer)
62
+ yarn run dev
63
+
64
+ ```
65
+
66
+ <a name="footnote1">1</a>: Certification refers to official medical software certification that are issued by the FDA or EU Notified Bodies. The sentence here serves as a reminder that the Dicom Web Viewer is not ceritifed, and comes with no warranties (and no possible liability of its authors) as stated in the [license](license.txt). To learn more about standards used in certification, see the [wikipedia Medical software](https://en.wikipedia.org/wiki/Medical_software) page. If you have additional questions, please [open an issue](https://www.github.com/ivmartel/dwv/issues).