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

Progressive WebP decoding not showing on iOS 11 onwanrds #9

Open
vinodgleecus opened this issue Jan 21, 2018 · 0 comments
Open

Progressive WebP decoding not showing on iOS 11 onwanrds #9

vinodgleecus opened this issue Jan 21, 2018 · 0 comments

Comments

@vinodgleecus
Copy link

After Picking Image file from Gallery or Camera The Conversion to webP is happening Properly.
Getting an Error called: [Unknown process name] CGImageCreate: invalid image provider: NULL.

And later, I found the reason, CGDataProviderCreateWithData(NULL, rgba, 0, NULL); This will return NULL on iOS 11.2, but previously it will return a valid DataProvider instance with 0 data size. So this will break our code to use CGImageCreate(CGImageCreate will not read data provider size, it just calculate size from the arguments you provide)

Could you please provide some code to do fix this Issue...!!!

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

No branches or pull requests

1 participant