image-js
Version:
Image processing and manipulation in JavaScript
16 lines • 602 B
TypeScript
import type { Image } from '../Image.js';
export interface HypotenuseOptions {
/**
* To which channels to apply the filter. By default all but alpha.
*/
channels?: number[];
}
/**
* Calculate a new image that is the hypotenuse between the current image and the otherImage.
* @param image - First image to process.
* @param otherImage - Second image.
* @param options - Hypotenuse options.
* @returns Hypotenuse of the two images.
*/
export declare function hypotenuse(image: Image, otherImage: Image, options?: HypotenuseOptions): Image;
//# sourceMappingURL=hypotenuse.d.ts.map