Skip to content
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

when i use ucrop it shows a toast "invalid marker " and suddenly the ucrop activity exit ,I want to know how to solve it. #184

Closed
happysmile123 opened this issue Aug 31, 2016 · 2 comments
Labels

Comments

@happysmile123
Copy link

happysmile123 commented Aug 31, 2016

java.io IOException invalid marker

i submit the crop result

I can see the croped picture in result activity

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Please attach any image files, URL and stack trace that can be used to reproduce the bug.

Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop?

@shliama
Copy link
Contributor

shliama commented Sep 8, 2016

Hello @happysmile123, thanks for the issue.
I've just fixed this bug, it was related to ExifInterface and PNG files cannot live together.
Should be available in the next library build soon.

@shliama shliama added the bug label Sep 8, 2016
@shliama
Copy link
Contributor

shliama commented Sep 8, 2016

Please check the latest uCrop version :octocat:
Now you can choose between:

Lightweight general solution
compile 'com.yalantis:ucrop:2.2.0' 
Get power of the native code to preserve image quality (+ about 1.5 MB to an apk size)
compile 'com.yalantis:ucrop:2.2.0-native'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants