Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
StudioCaptureScreenshotFormat
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.
Items
| Name | Value | Description |
|---|---|---|
| RGBA8 | 0 | The buffer contains raw, uncompressed RGBA pixel data with 8 bits per channel (4 bytes per pixel). |
| PNG | 1 | The buffer contains a complete PNG-encoded image. |
RGBA8
The buffer contains raw, uncompressed RGBA pixel data with 8 bits per channel (4 bytes per pixel).
| Field | Value |
|---|---|
| value | 0 |
PNG
The buffer contains a complete PNG-encoded image.
| Field | Value |
|---|---|
| value | 1 |