Type Alias ImageFormatOptions
ImageFormatOptions:
| { format: "dataURL"
| "png"
| "bmp" }
| { format: "jpg"; quality?: number }
Type Declaration
- { format: "dataURL" | "png" | "bmp" }
- { format: "jpg"; quality?: number }
-
format: "jpg"
-
Optionalquality?: number
Must be between 0-100, defaults to 100 if out of bounds or not specified