ICanvas.toBlob method
ICanvas › toBlob
Unofficial
Converts the canvas to a blob.Signature:
toBlob(callback: (blob: Blob | null) => void, type?: string | undefined, quality?: number | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (blob: Blob | null) => void | Callback receiving the blob. |
| type? | string | undefined | Image MIME type. |
| quality? | number | undefined | Image quality. |
Returns: void