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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…