Issue
I was wondering if it is possible to save a canvas that had several textures painted on it as an image file.
I know I can save regular Image's (kivy.core.image) or Texture's (kivy.graphics.texture) as an image file with the save() function, so if I am able to convert the canvas to an Image or a Texture it should be easy, but so far I wasn't able to do this.
Solution
Widgets have an export_to_png
method. Call this from the Widget whose canvas you have drawn on.
Answered By - inclement
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.