Android Question Save a specific rectangle from a bitmap

yiankos1

Well-Known Member
Licensed User
Longtime User
Hello team,

I have a bitmap and specific rectangle dimensions (bottomRight,topLeft,topRight,bottomLeft) of that image. I would like to crop this rectangle and save as a new bitmap. Should i use a canvas?

Thank you for your time.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top