CGImageCreate API returns nil in some cases on iOS 16 beta version

Since the release of iOS 16, many users of our app had complained that many WebP images in our App broken suddenly which made the app unusable.

We are using google's WebP library to decode WebP data. We create a CGDataProviderRef with WebPDecoderConfig output using MODE_RGB colorspace and feed it to CGImageCreate.

On iOS 16 beta version, It just returns nil which is unexpected.

Only if we use WebPDecoderConfig with MODE_rgbA, it works correctly and return a valid image ref. However, on iOS systems before iOS 16, it works correctly with the exactly same image.

Does apple will fix this issue?

@eskimo Could you please take a look at this issue? Thanks.

CGImageCreate API returns nil in some cases on iOS 16 beta version
 
 
Q