I need to programmatically crop specific area from bitmap, like blue area on this image
How I can do it?
I need to programmatically crop specific area from bitmap, like blue area on this image
How I can do it?
It's just like below:
// x refers to width, y refers to height
//first find startx, starty, endx, endy
Bitmap blueArea = Bitmap.createBitmap(bitmap, startx, starty, endx, endy);