ThumbImageBuffer
Image content of a thumbnail or icon. Set in ScreenCaptureSourceInfo.
export class ThumbImageBuffer {
buffer?: Uint8Array;
length?: number;
width?: number;
height?: number;
}
Note: The image is in ARGB format by default. If you need another format, please convert it manually.
Properties
- buffer
- Buffer of the thumbnail or icon.
- length
- Length of the thumbnail or icon buffer, in bytes.
- width
- Actual width of the thumbnail or icon (px).
- height
- Actual height of the thumbnail or icon (px).