@lunit/cornerstone-declarations
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -236,3 +236,3 @@ // https://docs.cornerstonejs.org/api.html | ||
/** a function that returns the underlying pixel data. An array of integers for grayscale and an array of RGBA for color */ | ||
getPixelData: () => Uint8Array; | ||
getPixelData: () => Uint8Array | Uint16Array | Int8Array | Int16Array; | ||
@@ -877,3 +877,3 @@ /** a function that returns a canvas imageData object for the image. This is only needed for color images */ | ||
*/ | ||
export function getImageDataType(image: Image): 'rgb' | 'iint16' | 'uint16' | 'int8' | 'uint8'; | ||
export function getImageDataType(image: Image): 'rgb' | 'int16' | 'uint16' | 'int8' | 'uint8'; | ||
@@ -886,3 +886,3 @@ /** | ||
*/ | ||
export function storedPixelDataToImageData(image: Image): Uint8Array; | ||
export function storedPixelDataToImageData(image: Image): Uint8Array | Uint16Array | Int8Array | Int16Array; | ||
@@ -889,0 +889,0 @@ /** |
{ | ||
"name": "@lunit/cornerstone-declarations", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"typings": "index.d.ts", | ||
@@ -5,0 +5,0 @@ "author": "Seoyeon Lee <i@ssen.name>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63107