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

Error -17102 decompressing image -- possibly corrupt #799

Closed
prabhuamol opened this issue Jul 25, 2024 · 4 comments
Closed

Error -17102 decompressing image -- possibly corrupt #799

prabhuamol opened this issue Jul 25, 2024 · 4 comments

Comments

@prabhuamol
Copy link

See this error in the console sometimes. Is this expected?
Screenshot 2024-07-25 at 12 06 15 PM

@Saafo
Copy link

Saafo commented Aug 2, 2024

Because of 6c2542848b178b4bc23f7bd56eae2a708eb15007,

f87a6c3a-50e1-403f-a725-e61f147511ba

Hi @kean I'm just wondering why we revert this check?

Ahh I see: #788

But I'm still wondering whether this log means anything? Can we use preparingForDisplay to decode image in formats that are not jpg/heif?

@kean
Copy link
Owner

kean commented Aug 2, 2024

Can we use preparingForDisplay to decode image in formats that are not jpg/heif?

It won't fail, but it will throw this console warning. It's a pita to use 😞
I'm open to suggestions how to improve it.

@prabhuamol
Copy link
Author

#788

I see, so its something that apple just throws at us when preparingForDisplay is used on PNGs? I'll close this then if we can safely ignore this error

@prabhuamol
Copy link
Author

Looks like similar issue was observed here and radar to Apple was filed SDWebImage/SDWebImage#3365 (comment)

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

3 participants