UNPKG

fast-average-color

Version:

A simple library that calculates the average color of images, videos and canvas in browser environment.

4 lines (3 loc) 191 B
export declare const ERROR_PREFIX = "FastAverageColor: "; export declare function getError(message: string): Error; export declare function outputError(error: Error, silent?: boolean): void;