Android Question Crop bitmap

Shivito1

Active Member
Licensed User
i need to crop screen shot bitmaps continuously. However all the threads I've found use saved images when cropping.
 

DonManfred

Expert
Licensed User
Longtime User
bit is a reserved word i think. Don´t think it will work with bit

This will work i guess
B4X:
Dim bm as bitmap
Bm = canvas.bitmap
 
Upvote 0

Shivito1

Active Member
Licensed User
bit is a reserved word i think. Don´t think it will work with bit

This will work i guess
B4X:
Dim bm as bitmap
Bm = canvas.bitmap
Okay wait I miss read your reply. I was just trying to quickly create a generic Dim as an example.
B4X:
Dim bmp1 as bitmap
Bmp1 = Canvas.bitmap

Will the above work the same as what you posted ?
 
Upvote 0

Shivito1

Active Member
Licensed User
It worked!!!
I must have been to tired yesterday. I thought I had already tried this.

Thank you all so much for your wise words that led me to my solution!

Have a great day!
 
Upvote 0
Top