Skip to content

Progressive WebP decoding not showing on iOS 11 onwanrds #9

@vinodgleecus

Description

@vinodgleecus

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...!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions