image-js
Version:
Image processing and manipulation in JavaScript
9 lines • 417 B
TypeScript
import type { Image } from '../Image.js';
import type { Mask } from '../Mask.js';
/**
* Create function that allows to iterate on the pixels of the border of an image.
* @param image - Image for which to create the border iterator.
* @yields - Index of the border pixel.
*/
export declare function borderIterator(image: Image | Mask): Generator<number, void, unknown>;
//# sourceMappingURL=borderIterator.d.ts.map