Installation
npm install --save @types/get-pixels
Summary
This package contains type definitions for get-pixels (https://github.com/scijs/get-pixels#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-pixels.
index.d.ts
/// <reference types="node" />
import { NdArray } from "ndarray";
type Callback = (err: Error | null, pixels: NdArray<Uint8Array>) => void;
declare function getPixels(path: string, callback: Callback): void;
declare function getPixels(path: string | Uint8Array, type: string, callback: Callback): void;
export = getPixels;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/ndarray, @types/node
Credits
These definitions were written by Don McCurdy.