dwv 0.33.0-beta.13 → 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 +18 -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
|
@@ -1089,6 +1089,14 @@ export declare class DrawLayer {
|
|
|
1089
1089
|
* Add a flip offset along the layer Y axis.
|
|
1090
1090
|
*/
|
|
1091
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;
|
|
1092
1100
|
/**
|
|
1093
1101
|
* Flip the scale along the layer Z axis.
|
|
1094
1102
|
*/
|
|
@@ -3666,10 +3674,10 @@ export declare class ViewController {
|
|
|
3666
3674
|
* Generate display image data to be given to a canvas.
|
|
3667
3675
|
*
|
|
3668
3676
|
* @param {ImageData} array The array to fill in.
|
|
3669
|
-
* @param {Index} index Optional index at which to generate,
|
|
3677
|
+
* @param {Index} [index] Optional index at which to generate,
|
|
3670
3678
|
* otherwise generates at current index.
|
|
3671
3679
|
*/
|
|
3672
|
-
generateImageData(array: ImageData, index
|
|
3680
|
+
generateImageData(array: ImageData, index?: Index): void;
|
|
3673
3681
|
/**
|
|
3674
3682
|
* Set the associated image.
|
|
3675
3683
|
*
|
|
@@ -4002,6 +4010,14 @@ export declare class ViewLayer {
|
|
|
4002
4010
|
* Add a flip offset along the layer Y axis.
|
|
4003
4011
|
*/
|
|
4004
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;
|
|
4005
4021
|
/**
|
|
4006
4022
|
* Flip the scale along the layer Z axis.
|
|
4007
4023
|
*/
|