ImageData interface

The content or blob url of image, could be base64 encoding bytes or blob url. If both are given, the request will be refused. The maximum size of image is 2048 pixels * 2048 pixels, no larger than 4MB at the same time. The minimum size of image is 50 pixels * 50 pixels.

Properties

blobUrl

The blob url of image.

content

Base64 encoding of image.

Property Details

blobUrl

The blob url of image.

blobUrl?: string

Property Value

string

content

Base64 encoding of image.

content?: string

Property Value

string