Skip to content

Is there a way to manually export an ebiten.Image to a png or other image format #2854

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

You must be logged in to vote

I would like to export to a pong or other image format in order to help debug and understand what's wrong with it.

Use EBITENGINE_SCREENSHOT_KEY environment variable (https://pkg.go.dev/github.com/hajimehoshi/ebiten/v2#hdr-Environment_variables)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ThePuzzledDev
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