S sakzedmk New Member Sep 17, 2020 #1 Hello everybody, my question is next. How can I compare two Identical Bitmaps? One from a bitmap constant and another in a ImageView. I need it, for a form validation. What is the best way for it? Regards!
Hello everybody, my question is next. How can I compare two Identical Bitmaps? One from a bitmap constant and another in a ImageView. I need it, for a form validation. What is the best way for it? Regards!
Erel B4X founder Staff member Licensed User Longtime User Sep 18, 2020 #2 Assuming that this is the exact same bitmap instance then you can just compare them: B4X: If ImageView.Bitmap = bmp1 Then If it is not the same instance then you will need to compare each pixel. Upvote 0
Assuming that this is the exact same bitmap instance then you can just compare them: B4X: If ImageView.Bitmap = bmp1 Then If it is not the same instance then you will need to compare each pixel.