-
Notifications
You must be signed in to change notification settings - Fork 63
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
Keeping only the needed Image edit options after cropping the image. #60
Comments
Hey @shreyask12 For your immediate use, you could fork the scanlibrary repo in this github account and remove those buttons in the android code manually. If you would like to contribute to this plugin, I will gladly guide / work with you in making the appropriate changes. |
Thanks for your reply i would like to contribute to the plugin but for immediate use could you please guide me how to remove those buttons from the android code manually through the scanlibrary. |
Hey @shreyask12 Please consider raising a new issue if you are thinking about contributing. |
hey Chris, I did as you pointed out in the xml library and disabled the buttons but i am not able to point out to the forked @scanlibrary to the build.gradle. I am still getting the buttons visible even after changing the build.gradle to my forked scanlibrary. this is my build.gradle after changing allprojects { dependencies { earlier it was dependencies { |
The 2.3 here represents the release version. You have to create a release on github to get that version's build, if not you have to use master-snapshot. Refer to this to get the latest snapshot builds. Also your current build is failing. I am assuming you are changing the build.gradle from android studio. Instead you can just change it within your fork of the plugin. Then install that plugin using |
Thanks @ChrisTomAlx for your help, i achieved what i was looking for with your instructions. But there is still one issue i.e the size of the app increases drastically from 10mb to 45 mb on installing the plugin. |
Yea that is expected behavior since we are adding the opencv library to perform image manipulations. opencv is a huge library and this can't be helped. The only advice I can give is to remove some of the other architectures (maybe the 32 bit architectures, although this might cause the app not to work in older phones). Closing this issue now. |
Is there any way we can give only few image edit options after cropping the image to the user.
For example :
is there any way we can provide only few edit options out of all this for ex we provide only Magic and rotate options.
I tried to look for any parameters to pass with the options object in the scanDoc()
scan.scanDoc(successCallback, errorCallback,opts);
but i cant find any. Please help.
The text was updated successfully, but these errors were encountered: