imgui_screenshot
Capture a screenshot of the current ImGui frame and save it as a BMP or PPM file to a specified path, defaulting to the system temporary directory for quick UI state preservation.
Instructions
Capture a screenshot of the current ImGui frame and save it as a BMP file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path to save the screenshot (defaults to the system temporary directory) | |
| format | No | Image format (currently only bmp is supported natively) |