You should use the iXUI library.
Declare both views as B4XView. Private MyImageView, MyPanel As B4XView
Then use: MyImageView.SetBitmap(MyPanel.Snapshot)
Tested with B4J, but it should work with B4i and B4A.
You should use the iXUI library.
Declare both views as B4XView. Private MyImageView, MyPanel As B4XView
Then use: MyImageView.SetBitmap(MyPanel.Snapshot)
Tested with B4J, but it should work with B4i and B4A.
Snapshot returns a B4XBitmap.
With B4XBitmap.WriteToStream you can save it in a file.
Then, I have no experiene in sharing files between iOS and other platforms.
For the image distortion I suppose that the width / height ratio is not the same.
Thanks so much for the help but a little help on how to save
I have
B4X:
Private MyImageView, MyPanel As B4XView
Sub Save_Click
MyImageView.SetBitmap(MyPanel.Snapshot)
Dim bmp As B4XBitmap = Panel5.Snapshot
Dim Out As OutputStream
Out = File.OpenOutput(File.DirDocuments,"1.jpeg", False)
bmp.WriteToStream(Out, 100, "JPEG")
Out.Close
End Sub
I already told you: I have no experiene in sharing files between iOS and other platforms.
I would have to do the same as you could do: serch in the forum.
Erel gave you a link in post #5
I already told you: I have no experiene in sharing files between iOS and other platforms.
I would have to do the same as you could do: serch in the forum.
Erel gave you a link in post #5