3.3.4 • Published 2 years ago
@types/get-pixels v3.3.4
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
// Type definitions for get-pixels 3.3
// Project: https://github.com/scijs/get-pixels#readme
// Definitions by: Don McCurdy <https://github.com/donmccurdy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <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: Mon, 22 Nov 2021 21:01:02 GMT
- Dependencies: @types/ndarray, @types/node
- Global values: none
Credits
These definitions were written by Don McCurdy.