Yalantis / uCrop

Image Cropping Library for Android

Home Page:https://yalantis.com/blog/introducing-ucrop-our-own-image-cropping-library-for-android/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Freestyle" cropping

franciscofranco opened this issue ยท comments

Can we have a feature to crop a picture freely by dragging the picture corners instead of having to pinch to zoom in/out or changing the aspect ratio?

Thanks!

@franciscofranco Sure you can, please fork & pull-request :octocat:
We're not planning to add this feature at the moment.

I can try and implement it yeah.
Any special reason why you're not planning to add the feature yourself?

Well, it's implemented like this by-design. Library allows user to choose from various most common aspect ratios.
But it's not really hard to implement "freestyle" cropping - because logic of library doesn't really cares, it's all dynamic.
However at the moment I just have no time to work on this feature.
And here is a power of open-source - you can actually implement it and everyone gonna use it ๐Ÿ‘

Would be great ๐Ÿ‘

On Wed, Feb 17, 2016 at 11:51 PM, Oleksii notifications@github.com wrote:

Well, it's implemented like this by-design. Library allows user to choose
from various most common aspect ratios.
But it's not really hard to implement "freestyle" cropping - because logic
of library doesn't really cares, it's all dynamic.
However at the moment I just have no time to work on this feature.
And here is a power of open-source - you can actually implement it and
everyone gonna use it [image: ๐Ÿ‘]

โ€”
Reply to this email directly or view it on GitHub
#32 (comment).

@franciscofranco I'd help you with realising that. I'm also missing this feature!
+1

@franciscofranco +1 really needed feature :)

I'll try to add this feature in the next update.

Introduced the feature in version 1.5.0

Am I missing something? I don't see this feature anymore in the current version 2.2.4
This feature is def. useful for cropping an object out inside of the picture taken.