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

In SDWebImage 5.19.2, the image decoding is incorrect #3719

Open
3 tasks done
luchi0208 opened this issue Jun 12, 2024 · 0 comments
Open
3 tasks done

In SDWebImage 5.19.2, the image decoding is incorrect #3719

luchi0208 opened this issue Jun 12, 2024 · 0 comments

Comments

@luchi0208
Copy link

luchi0208 commented Jun 12, 2024

New Issue Checklist

Issue Info

Info Value
Platform Name ios
Platform Version 17.4
SDWebImage Version 5.19.2
Integration Method cocoapods
Xcode Version Xcode 15.4
Repro rate all the time (100%)
Repro with our demo prj e.g. does it happen with our demo project?
Demo project link e.g. link to a demo project that highlights the issue

Issue Description and Steps

I have an issue with this specific image.
test_broken_image

I tested it by displaying the image with the system's UIImage(name:) and sd_setImage(). The sd_image seems to decode the image incorrectly.

        systemImageView.image = UIImage(named: "test_broken_image")
        
        let localUrl = Bundle.main.url(forResource: "test_broken_image", withExtension: "png")
        sdWebImageView.sd_setImage(with: localUrl)

Result:
Simulator Screenshot - iPhone 15 - 2024-06-12 at 16 29 52

I also noticed this message was printed: Detected the current OS's ImageIO PNG Decoder is buggy on indexed color PNG. Performing workaround solution...

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