Enumeration: ImageSourceType
Defined in: submodules/univer/packages/core/src/services/image-io/image-io.service.ts:24
The type of image data source
Enumeration Members
Enumeration Member | Value | Description | Defined in |
---|---|---|---|
BASE64 | "BASE64" | The image source is BASE64, for example: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB7ZJ… | submodules/univer/packages/core/src/services/image-io/image-io.service.ts:36 |
URL | "URL" | The image source is a URL, for example: https://avatars.githubusercontent.com/u/61444807?s=48&v=4 | submodules/univer/packages/core/src/services/image-io/image-io.service.ts:28 |
UUID | "UUID" | The image source is a UUID, this ID is generated by the Univer image hosting service. For specific generation rules, please refer to the Univer image hosting service API documentation. | submodules/univer/packages/core/src/services/image-io/image-io.service.ts:32 |