dwv 0.33.0-beta.12 → 0.33.0-beta.14
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.
- package/decoders/pdfjs/readme.md +13 -14
- package/decoders/rii-mango/readme.md +10 -11
- package/dist/dwv.d.ts +24 -2
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +12 -13
package/decoders/pdfjs/readme.md
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
Third Party: pdf.js
|
|
2
|
-
=====================
|
|
1
|
+
# Third Party: pdf.js
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
- Web: https://github.com/mozilla/pdf.js
|
|
4
|
+
- Version: v1.1.1 (pdf.js) and commit fcaf281 of jpambrun
|
|
5
|
+
- Date: copied on 05/05/2015
|
|
6
|
+
- Download:
|
|
7
|
+
- [jpg.js](https://github.com/mozilla/pdf.js/blob/master/src/core/jpg.js) modified as in
|
|
8
|
+
https://github.com/notmasteryet/jpgjs/pull/33
|
|
9
|
+
- [jpx.js](https://github.com/jpambrun/jpx-medical/blob/master/jpx.js)
|
|
10
|
+
- [arithmetic_decoder.js](https://github.com/mozilla/pdf.js/blob/v1.1.1/src/core/arithmetic_decoder.js)
|
|
11
|
+
- [util.js](https://github.com/mozilla/pdf.js/blob/v1.1.1/src/shared/util.js)
|
|
12
|
+
- License: Apache 2.0 (see [license.txt](https://github.com/mozilla/pdf.js/blob/master/LICENSE))
|
|
13
|
+
- Description: Mozilla's JPEG and JPEG2000 decoder from PDF.js with added support for 16 bit signed grayscale images.
|
|
14
|
+
- Purpose for dwv: read DICOM files containing JPEG or JPEG2000 data.
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
Third Party: rii-mango
|
|
2
|
-
======================
|
|
1
|
+
# Third Party: rii-mango
|
|
3
2
|
|
|
4
|
-
JPEGLosslessDecoderJS
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
## JPEGLosslessDecoderJS
|
|
4
|
+
|
|
5
|
+
- Web: https://github.com/rii-mango/JPEGLosslessDecoderJS
|
|
6
|
+
- Version: [2.0.2](https://github.com/rii-mango/JPEGLosslessDecoderJS/releases/tag/v2.0.2)
|
|
7
|
+
- Date: 19/03/2017
|
|
8
|
+
- Download: see release
|
|
9
|
+
- License: MIT (see https://github.com/rii-mango/JPEGLosslessDecoderJS/blob/v2.0.2/LICENSE)
|
|
10
|
+
- Description: JPEG Lossless decoder.
|
|
11
|
+
- Purpose for dwv: Decode JPEG embeded in DICOM.
|
package/dist/dwv.d.ts
CHANGED
|
@@ -120,6 +120,12 @@ export declare class App {
|
|
|
120
120
|
* @returns {LayerGroup} The layer group.
|
|
121
121
|
*/
|
|
122
122
|
getActiveLayerGroup(): LayerGroup;
|
|
123
|
+
/**
|
|
124
|
+
* Set the active layer group.
|
|
125
|
+
*
|
|
126
|
+
* @param {number} index The layer group index.
|
|
127
|
+
*/
|
|
128
|
+
setActiveLayerGroup(index: number): void;
|
|
123
129
|
/**
|
|
124
130
|
* Get the view layers associated to a data id.
|
|
125
131
|
* The layer are available after the first loaded item.
|
|
@@ -1083,6 +1089,14 @@ export declare class DrawLayer {
|
|
|
1083
1089
|
* Add a flip offset along the layer Y axis.
|
|
1084
1090
|
*/
|
|
1085
1091
|
addFlipOffsetY(): void;
|
|
1092
|
+
/**
|
|
1093
|
+
* Flip the scale along the layer X axis.
|
|
1094
|
+
*/
|
|
1095
|
+
flipScaleX(): void;
|
|
1096
|
+
/**
|
|
1097
|
+
* Flip the scale along the layer Y axis.
|
|
1098
|
+
*/
|
|
1099
|
+
flipScaleY(): void;
|
|
1086
1100
|
/**
|
|
1087
1101
|
* Flip the scale along the layer Z axis.
|
|
1088
1102
|
*/
|
|
@@ -3660,10 +3674,10 @@ export declare class ViewController {
|
|
|
3660
3674
|
* Generate display image data to be given to a canvas.
|
|
3661
3675
|
*
|
|
3662
3676
|
* @param {ImageData} array The array to fill in.
|
|
3663
|
-
* @param {Index} index Optional index at which to generate,
|
|
3677
|
+
* @param {Index} [index] Optional index at which to generate,
|
|
3664
3678
|
* otherwise generates at current index.
|
|
3665
3679
|
*/
|
|
3666
|
-
generateImageData(array: ImageData, index
|
|
3680
|
+
generateImageData(array: ImageData, index?: Index): void;
|
|
3667
3681
|
/**
|
|
3668
3682
|
* Set the associated image.
|
|
3669
3683
|
*
|
|
@@ -3996,6 +4010,14 @@ export declare class ViewLayer {
|
|
|
3996
4010
|
* Add a flip offset along the layer Y axis.
|
|
3997
4011
|
*/
|
|
3998
4012
|
addFlipOffsetY(): void;
|
|
4013
|
+
/**
|
|
4014
|
+
* Flip the scale along the layer X axis.
|
|
4015
|
+
*/
|
|
4016
|
+
flipScaleX(): void;
|
|
4017
|
+
/**
|
|
4018
|
+
* Flip the scale along the layer Y axis.
|
|
4019
|
+
*/
|
|
4020
|
+
flipScaleY(): void;
|
|
3999
4021
|
/**
|
|
4000
4022
|
* Flip the scale along the layer Z axis.
|
|
4001
4023
|
*/
|