biokys / cropimage

Replacement for deprecated official Android crop image function
555 stars 292 forks source link

How to resize cropping rectangle on one edge without moving the other edge? #17

Open iori57 opened 11 years ago

iori57 commented 11 years ago

Hi, on some of the newer Android devices, when we do crop image inside Gallery, it shows a blue border (instead of orange) and we may resize the border on say the right edge and the left edge will stay still without moving.. I think this behaviour makes more sense as it is easier to select the cropping area this way. I read the source code of this library but couldn't figure out how to modify to make it behave like I want it to... can someone better with maths help? :)

If someone know where to find the new image crop source code (with blue border) please share too.. thanks!