ThumbImageBuffer

The image content of the thumbnail or icon. Set in ScreenCaptureSourceInfo.

export class ThumbImageBuffer {

  buffer?: Uint8Array;

  length?: number;

  width?: number;

  height?: number;
}
Note: The default image is in the ARGB format. If you need to use another format, you need to convert the image on your own.

Attributes

buffer
The buffer of the thumbnail or icon.
length
The buffer length of the thumbnail or icon, in bytes.
width
The actual width (px) of the thumbnail or icon.
height
The actual height (px) of the thumbnail or icon.