SDWebImageSVGCoder icon indicating copy to clipboard operation
SDWebImageSVGCoder copied to clipboard

SVG Image change to black color

Open SaulBeto opened this issue 2 years ago • 0 comments

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!

SaulBeto avatar Aug 28 '23 20:08 SaulBeto