i’m using this example to crop an image that was selected from the gallery but the problem is that example only crop squares. Would it be possible to crop rectangles instead of only squares? In that example if I move one side the adjacent side moves along, keeping it a square selection.
Thanks.
i found that’s possible to crop rectangles using the built-in Android cropping handler.(com.android.camera.action.CROP). To crop rectangles you need to remove the following parameters of the example that i passed before:
Setting the aspectX and aspectY will force the android to move both sides of the shape when you move one of them. Comment those lines and you’ll be free to move the shape.