image-js
Version:
Image processing and manipulation in JavaScript
22 lines • 640 B
TypeScript
import type { Image } from '../Image.js';
export interface DivideOptions {
/**
* Channels where value will be divided.
* @default all channels
*/
channels?: number[];
/**
* Image to which the resulting image has to be put.
*/
out?: Image;
}
/**
*
* Divides image pixels by a certain value.
* @param image - image to which division will be applied.
* @param value - Value by which each pixel will be divided.
* @param options - Divide options
* @returns image.
*/
export declare function divide(image: Image, value: number, options?: DivideOptions): Image;
//# sourceMappingURL=divide.d.ts.map