ThumbImageBuffer
The image content of the thumbnail or icon. Set in ScreenCaptureSourceInfo.
struct ThumbImageBuffer { const char* buffer; unsigned int length; unsigned int width; unsigned int height; ThumbImageBuffer() : buffer(nullptr), length(0), width(0), height(0) {} };
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.