calc-image-stats
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -25,4 +25,23 @@ export type BandStats<P extends boolean> = { | ||
export type ImageData = number[] | number[][] | number[][][]; | ||
export type TypedArray = | ||
| Int8Array | ||
| Uint8Array | ||
| Uint8ClampedArray | ||
| Int16Array | ||
| Uint16Array | ||
| Int32Array | ||
| Uint32Array | ||
| Float32Array | ||
| Float64Array | ||
| BigInt64Array | ||
| BigUint64Array; | ||
export type ImageData = | ||
| number[] | ||
| number[][] | ||
| number[][][] | ||
| TypedArray | ||
| TypedArray[] | ||
| TypedArray[][]; | ||
export default function calcImageStats<P extends boolean>( | ||
@@ -29,0 +48,0 @@ data: ImageData, |
{ | ||
"name": "calc-image-stats", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "Calculate Band Statistics for an Image", | ||
@@ -5,0 +5,0 @@ "main": "calc-image-stats.js", |
13928
113