B4J Question Canvas to jpg

samperizal

Active Member
Licensed User
Longtime User
Greetings.
It is possible to save the contents of a canvas in a jpg or png file.

Thank you
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
Yes if the canvas doesn't have a snapshot method. Put a pane as the parent and then you can snapshot it.
 
Upvote 0

emexes

Expert
Licensed User
upload_2019-9-13_22-13-24.png


Edit: Enrique beat me by about ten seconds :-/
Edit: but I beat Manfred by same, which almost makes up for it ;-)
 
Upvote 0
Top