mcanvas
Version:
the image-composer or image-croper that can draw image/text/watermark or crop the image.
15 lines • 392 B
TypeScript
declare namespace TImage {
type ftype = 'blur' | 'flip' | 'gray' | 'mosaic' | 'oil'
interface cropOptions {
x?: number | string
y?: number | string
width?: number | string
height?: number | string
radius?: number | string
}
interface compressOptions {
quality?: number,
width?: number,
height?: number,
}
}