SDWebImageSVGCoder
SDWebImageSVGCoder copied to clipboard
[Solved] Port Adobe's SVG Native support?
There are Adobe's SVG-Native library, which backend CoreGraphics, so it should support iOS/macOS.
Anyone here can provide a SwiftPM/CocoaPods for support ?
See: https://github.com/adobe/svg-native-viewer
I can use svg-native-viewer on iOS to render bitmap SVG image
which solve many of Apple's CoreSVG render issue, which previously can not solve at all :)
See:
sample buggy render SVG from our user's feedback:
- https://d4rgq65mqvxhk.cloudfront.net/public/gift_icons/officialGift%2378548ed1-9c95-4634-b355-ca8c2a53da4f.svg (https://github.com/SDWebImage/SDWebImageSVGCoder/issues/36) @koogawa
- https://s3-symbol-logo.tradingview.com/apple--big.svg (https://github.com/SDWebImage/SDWebImageSwiftUI/issues/220 ) @Pirajok168

I'l open-source the new SDWebImageSVGNativeCoder now.
repo
https://github.com/SDWebImage/SDWebImageSVGNativeCoder
Which depends on the svg-native-viewer built for iOS/macOS/tvOS/watchOS port.
PS: Even you don't use SDWebImage, you can integrate that C++ library into your iOS project, and replace the old SVGKit or something :)