Skip to content

Option to save/write screen image to disk #2668

Answered by hajimehoshi
drum445 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Use EBITENGINE_SCREENSHOT_KEY environment variable.
  2. You can save an *ebiten.Image by passing this to png.Encode or something, as this implements image.Image.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@drum445
Comment options

Answer selected by hajimehoshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants