Alexander Stolte Expert Licensed User Longtime User Feb 14, 2019 #1 Hello, is the .Snapshot from a B4XView, the same as ImageView.GetImage?
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2019 #2 No. Snapshot draws the view (any view) and returns a bitmap. You can get the ImageView bitmap with: B4X: Dim iv As ImageView = B4XView1 Dim bmp As Bitmap = iv.Bitmap Upvote 0
No. Snapshot draws the view (any view) and returns a bitmap. You can get the ImageView bitmap with: B4X: Dim iv As ImageView = B4XView1 Dim bmp As Bitmap = iv.Bitmap
Alexander Stolte Expert Licensed User Longtime User Feb 14, 2019 #3 And from a B4XView? Makes then no sense if I can put a picture, but not get this image. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2019 #4 I showed you how to get the image from a B4XView. Upvote 0
Alexander Stolte Expert Licensed User Longtime User Feb 14, 2019 #5 It would be nice to have this already in the XUI lib, then i save 2 lines of code. Upvote 0
DonManfred Expert Licensed User Longtime User Feb 14, 2019 #6 At least it IS possible. Put the massive TWO lines in a sub if you want. Upvote 0