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.
 
bit is a reserved word i think. Don´t think it will work with bit

This will work i guess
Code:
Dim bm as bitmap
Bm = canvas.bitmap
 
Upvote 0
There's Klaus beginners guide series, you should start by that.
Also, rule of thumb, the IDE always colors in blue the reserved keywords!
 
Upvote 0
bit is a reserved word i think. Don´t think it will work with bit

This will work i guess
Code:
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.
Code:
Dim bmp1 as bitmap
Bmp1 = Canvas.bitmap

Will the above work the same as what you posted ?
 
Upvote 0
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
Back
Top