StudioCaptureScreenshotFormat
Specifies the pixel format of the image buffer stored in a StudioScreenshotCapture object.
Items 2
| History | Name | Value | Description | |
|---|---|---|---|---|
| 714 | RGBA8 | 0 | The buffer contains raw, uncompressed RGBA pixel data with 8 bits per channel (4 bytes per pixel). | |
| 714 | PNG | 1 | The buffer contains a complete PNG-encoded image. |
Description
Specifies the pixel format used when
StudioCaptureService:CaptureScreenshot() stores the captured image.
Pass this value as the Format key in the options table to
StudioCaptureService:CaptureScreenshot(); it is then reflected as the
read-only StudioScreenshotCapture.BufferFormat property. When Format
is omitted, the capture defaults to
StudioCaptureScreenshotFormat.RGBA8.