CanvaImageBlob
Represents an image that is available as a Blob.

Signature

1
type CanvaImageBlob = {
2
type: CanvaDataType.CANVA_IMAGE_BLOB;
3
blob: Blob;
4
imageType: string;
5
width: number;
6
height: number;
7
};
Copied!

Properties

Name
Type
Required
Description
type
Yes
This value is always "canva_image_blob".
blob
Blob
Yes
The binary data of the image.
imageType
string
Yes
The MIME type of the image.
width
number
Yes
The width of the image, in pixels.
height
number
Yes
The height of the image, in pixels.
Last modified 1mo ago
Copy link