Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android resizable rectangle crop

I need to crop a picture using a resizable rectangle based on user touch events. I'm doing this because the crop intent feature isn't supported by all devices, so I'm creating my own.

I have the original image as a bitmap and it's displayed on the screen as an image view.

Now what I need to do next is have a rectangle (already know size it needs to be) that can be resized and moved for the user to crop the image (Say get a face).

How can I create a resizable rectangle like this?

like image 367
Oliver Dixon Avatar asked Jul 04 '12 20:07

Oliver Dixon


1 Answers

CropImage has worked great for me.

like image 146
zienkikk Avatar answered Oct 05 '22 21:10

zienkikk