convert

Create a new image by converting an existing image to a different format.

The supported image formats are jpeg, png, and webp.

convert<Format>(options: ConvertOptions<Format>): Promise<ImageObject<Format>;
crop

Create a new image by cropping an existing image.

crop(options: CropOptions): Promise<ImageObject>;
mirror

Create a new image by mirroring an existing image.

mirror(options: MirrorOptions): Promise<ImageObject>;
resize

Create a new image by resizing an existing image.

resize(options: ResizeOptions): Promise<ImageObject>;
rotate

Create a new image by rotating an existing image.

rotate(options: RotateOptions): Promise<ImageObject>;