-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cropping options #131
Comments
Currently you cannot do this. However I'm planning to add a feature so you can set your own selection of aspect ratio buttons in future update. |
This is great. Thanks for answering. This is important because i have a project about photography and i think some users want to upload width :30px height:5000px photos for crashing to my app :). Have a nice day |
@canberkcakmak please use library version 2.1.0 and |
Woow :) you re really perfect. I will try today. Thanks man :) |
Thanks for using uCrop :) Check out https://github.com/Yalantis/uCrop/blob/master/sample/src/main/java/com/yalantis/ucrop/sample/SampleActivity.java line 308 as a sample |
Hi, i'm ,implement new version but, in the library build.gradle file |
@canberkcakmak I have a project with 23.4.0 version of appcompat & it runs well. I don't think that there are no error logs at all, maybe you have to change your logs level visibility etc. Otherwise you can try to do this: compile('com.android.support:appcompat-v7:23.2.1') {
// force to use 23.2.1 even if another library resolves higher version
force = true
} |
Ok. I download your library and implement manually my project and chage build.gradle with 23.2.1 it's perfectly worked. Thank you so much for update. :) have a nice day |
(ノ◕ヮ◕)ノ*:・゚✧ |
sorry for open again :) and sorry for puzzling you. But my crop problem not solved i see. When i select my silly height photo firstly it shows original cropping. But when i clicked options it turns normal. here is my screenshot: |
Can you post here your uCrop config? |
UCrop.Options options = new UCrop.Options();
here |
Yei, you've found a bug :) Gonna push hotfix later today |
:) okey. Again thanks for perfect crop library. I've tried almost all libraries and i think this is the best. |
I've pushed an update 2.1.1 - above issue should be fixed :) And by the way, if use api like this, library automatically makes same title from given numbers & swaps them if user clicks on it again. options.setAspectRatioOptions(1,
new AspectRatio(null, 1, 2),
new AspectRatio(null, 3, 4),
new AspectRatio(null, 5, 3),
new AspectRatio(null, 16, 9),
new AspectRatio(null, 1, 1)); |
it is working perfectly :) thanks man have a nice day. |
@shliama is there any option to disable swapping ? |
How to enable free cropping? |
How can i disable only original cropping with options. using?
The text was updated successfully, but these errors were encountered: