ImageSource Class
Image data encoded and compressed in either Jpeg or Png format.
Methods
| Name | Description | |
|---|---|---|
| constructor(data: Uint8Array | string, format: ImageSourceFormat): ImageSource | Construct a new ImageSource, which takes ownership of the Uint8Array. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| data | Uint8Array | string | The content of the image, compressed | |
| format | ImageSourceFormat | The compression type. |
Defined in
Last Updated: 08 January, 2020