image-js
Version:
Image processing and manipulation in JavaScript
10 lines • 368 B
TypeScript
import type { Image } from '../Image.js';
import type { Mask } from '../Mask.js';
/**
* Get the default color for a given color model.
* The color is black for images and 1 for masks.
* @param image - The used image.
* @returns Default color.
*/
export declare function getDefaultColor(image: Image | Mask): number[];
//# sourceMappingURL=getDefaultColor.d.ts.map