romaine
Version:
React OpenCV Manipulation and Image Narration & Editing
9 lines • 456 B
TypeScript
import { AddPadding } from "../../types/AddPadding";
/**
* Function that adds transparent (or whatever the fill color is) to the image canvas
* @see https://stackoverflow.com/questions/43391205/add-padding-to-images-to-get-them-into-the-same-shape#43391469
* @example
* addPadding(cv, canvasRef.current, { left: 500 }, { setPreviewPaneDimensions, showPreview });
*/
export declare const addPadding: AddPadding;
//# sourceMappingURL=addPadding.d.ts.map