[]
type SaveOptions = object;
Options for saving an image.
optional convertToFormat?: ImageFormatCode | ImageMimeType;
The target format code to convert the image to during saving.
optional fileName?: string;
The desired file name for the saved image.
optional original?: boolean;
Indicates whether to retrieve the original version of the image.