共用方式為


ImageData interface

影像可以是base64編碼的位元組或 Blob URL。 您只能選擇其中一個選項。 如果兩者都提供,則會拒絕要求。 影像大小上限為 2048 x 2048 像素,不應超過 4 MB,而最小影像大小為 50 x 50 像素。

屬性

blobUrl

影像的 Blob URL。

content

影像的Base64編碼。

屬性詳細資料

blobUrl

影像的 Blob URL。

blobUrl?: string

屬性值

string

content

影像的Base64編碼。

content?: string

屬性值

string