Hi
How export image from canvas but only actual size of image?!
example:
Here is image slika.png in Canvas1 (=fixed size) sometime smaller sometimes biger ..... how to save image with only actual size and not fixed size of canvas window!?!
How export image from canvas but only actual size of image?!
example:
B4X:
Sub Button1_Action
Dim fileName As String
fileName="slika.png"
Dim out As OutputStream = File.OpenOutput("", fileName, False)
Canvas1.Snapshot.WriteToStream(out)
out.Close
End Sub
Here is image slika.png in Canvas1 (=fixed size) sometime smaller sometimes biger ..... how to save image with only actual size and not fixed size of canvas window!?!