-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.LoadImageFromScreen
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Load image from screen buffer and (screenshot)
None.
| Condition | Return Value |
|---|---|
| (always) | map |
// Call after BeginDrawing/EndDrawing to capture the frame
screenshot = raylib.LoadImageFromScreen
if raylib.IsImageValid(screenshot) then
print "Screenshot captured: " + screenshot.width + "x" + screenshot.height
raylib.UnloadImage screenshot
end if