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

SVG Image change to black color #47

Open
SaulBeto opened this issue Aug 28, 2023 · 1 comment
Open

SVG Image change to black color #47

SaulBeto opened this issue Aug 28, 2023 · 1 comment

Comments

@SaulBeto
Copy link

Hi! I'm having a problem when I load an svg image from a URL.

The image color in the browser looks fine but after downloading it in the app implementation, the image changes to black.

I'm using

  • SDWebImageSVGNativeCoder

Tested in two simulators:

  • iPhone 14 pro iOS 16.2
  • iPhone 8 iOS 14.3

I've tested in my own app and in your example app (https://github.com/SDWebImage/SDWebImageSVGNativeCoder) and the result is the same. I've got the black image.

Here are some URL examples:
https://test.yoyumm.4livedemo.com/image/cuisines/4/400/400
https://test.yoyumm.4livedemo.com/image/cuisines/6/400/400

Hopefully, you can help me.

Best wishes!

@Banck
Copy link

Banck commented Dec 3, 2024

@SaulBeto Hello!
Have you found a workaround?

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