SDWebImage / SDWebImageSVGCoder

A SVG coder plugin for SDWebImage, using Apple's built-in framework
MIT License
103 stars 34 forks source link

SVG Image change to black color #47

Open SaulBeto opened 1 year ago

SaulBeto commented 1 year ago

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

Tested in two simulators:

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!