Interface: ImageViewerCaptureOptions
Options for toBlob() on <image-viewer> and the ImageViewer handle.
Properties
height?
optionalheight?:number
quality?
optionalquality?:number
Encoding quality from 0 to 1 for JPEG and WebP.
type?
optionaltype?:"image/png"|"image/jpeg"|"image/webp"
image/png (default), image/jpeg or image/webp. Browsers that cannot encode a type return a PNG.
width?
optionalwidth?:number
Output size in pixels. Without either, the image's own size; with one, the other keeps the aspect ratio.