Option to save/write screen image to disk #2668
-
It would be useful to have a way to save the screen after Draw() has been ran to a file on disk. Similar to raylib's screenshot functionality. If there is already a way to achieve this, please let me know Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
hajimehoshi
May 17, 2023
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hajimehoshi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EBITENGINE_SCREENSHOT_KEY
environment variable.*ebiten.Image
by passing this topng.Encode
or something, as this implementsimage.Image
.