Capture fyne window content as PNG #4500
-
Is it possible to capture Fyne windows content and save as PNG files? I have used such approach with Tkinter once for automated documentation generation. |
Beta Was this translation helpful? Give feedback.
Answered by
andydotxyz
Jan 1, 2024
Replies: 1 comment
-
Yes, call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mpkondrashin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, call
Window.Canvas().Capture()
to get animage.Image
and then you can use the Go libraries to encode it in any format.