How to capture an image in android with coordinates

后端 未结 3 751
春和景丽
春和景丽 2020-12-15 01:57

Am new to android , and I would like place my problem in-front of you,,

I would like to capture an image between four coordinates , as below..

3条回答
  •  借酒劲吻你
    2020-12-15 02:38

    as for getting the image within the co-ordinates

    Bitmap croppedBmp = Bitmap.createBitmap(originalBmp, startx, starty, endx, endy);
    

    this will create a cropped bitmap like your after

提交回复
热议问题