interface IExtract { base64(target?,
format?,
quality?,
frame?): Promise<string>; canvas(target?,
frame?): ICanvas; image(target?,
format?,
quality?,
frame?): Promise<HTMLImageElement>; pixels(target?,
frame?): Uint8Array | Uint8ClampedArray; } Methods
base64
- base64(target?, format?, quality?, frame?): Promise<string>
Returns Promise<string>
canvas
- canvas(target?, frame?): ICanvas
image
- image(target?, format?, quality?, frame?): Promise<HTMLImageElement>
Returns Promise<HTMLImageElement>
pixels
- pixels(target?, frame?): Uint8Array | Uint8ClampedArray
Returns Uint8Array | Uint8ClampedArray