S samperizal Active Member Licensed User Longtime User Sep 13, 2019 #1 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 Sep 13, 2019 #2 Yes if the canvas doesn't have a snapshot method. Put a pane as the parent and then you can snapshot it. Upvote 0
Yes if the canvas doesn't have a snapshot method. Put a pane as the parent and then you can snapshot it.
E emexes Expert Licensed User Sep 13, 2019 #3 Edit: Enrique beat me by about ten seconds :-/ Edit: but I beat Manfred by same, which almost makes up for it ;-) Upvote 0
Edit: Enrique beat me by about ten seconds :-/ Edit: but I beat Manfred by same, which almost makes up for it ;-)
DonManfred Expert Licensed User Longtime User Sep 13, 2019 #4 Probably B4X: dim cv as b4xview = canvas dim bmp as Image = cv.snapshot or B4X: Dim img as Image = canvas.Snapshot Last edited: Sep 14, 2019 Upvote 0
Probably B4X: dim cv as b4xview = canvas dim bmp as Image = cv.snapshot or B4X: Dim img as Image = canvas.Snapshot
DonManfred Expert Licensed User Longtime User Sep 14, 2019 #6 samperizal said: Thank you. Click to expand... It is the solution? If so then you should click on LIKE on the helpful post to give back some honor for the help. Upvote 0
samperizal said: Thank you. Click to expand... It is the solution? If so then you should click on LIKE on the helpful post to give back some honor for the help.