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

IOS: [UIKitCore] Error -16994 decompressing image -- possibly corrupt - but image still rendering #3591

Open
3 tasks done
ethanquix opened this issue Aug 31, 2023 · 1 comment

Comments

@ethanquix
Copy link

New Issue Checklist

Issue Info

Info Value
Platform Name ios
Platform Version 13.5.1
SDWebImage Version 5.15.8
Integration Method cocoapods
Xcode Version 14.3.1/14E300c
Repro rate 100%
Repro with our demo prj /
Demo project link see description

Issue Description and Steps

Hi! I am working on a React Native app using expo-image 1.3.2 on my project.
This module use SDWebImage (~> 5.15.8)

When I run my app in the IOS Simulator and I render a PNG image:
<Image source="......"/>, I see this error on the logs:

[UIKitCore] Error -16994 decompressing image -- possibly corrupt

But I can still see the image rendering correctly.

Image link example:
https://imagedelivery.net/JWRTGCRing-U-DQEH1Gq5g/646f2118-feac-40ef-b477-9786fb0cec00/public

@dreampiggy
Copy link
Contributor

Maybe need to ask expo's maintainer or report issue there.

In my knwonledge, the decompressing image this suck log, is because of you call native API imageByPreparingForDisplay for un-supported format.

SDWebImage itself check only JPEG and HEIC and then call this API. So workaround this warning.

Did they use something to call this by their hand ?

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

2 participants