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

[Solved] Port Adobe's SVG Native support? #39

Open
dreampiggy opened this issue Jul 25, 2022 · 2 comments
Open

[Solved] Port Adobe's SVG Native support? #39

dreampiggy opened this issue Jul 25, 2022 · 2 comments

Comments

@dreampiggy
Copy link
Collaborator

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

@dreampiggy dreampiggy added the help wanted Extra attention is needed label Jul 25, 2022
@dreampiggy
Copy link
Collaborator Author

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:

  1. https://d4rgq65mqvxhk.cloudfront.net/public/gift_icons/officialGift%2378548ed1-9c95-4634-b355-ca8c2a53da4f.svg (Could not display SVG image correctly in SwiftUI #36) @koogawa
  2. https://s3-symbol-logo.tradingview.com/apple--big.svg (Incorrect display of svg images SDWebImageSwiftUI#220 ) @Pirajok168

image

@dreampiggy
Copy link
Collaborator Author

dreampiggy commented Aug 3, 2022

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 :)

@dreampiggy dreampiggy removed the help wanted Extra attention is needed label Aug 3, 2022
@dreampiggy dreampiggy changed the title [Help wanted] Port Adobe's SVG Native support? [Solved] Port Adobe's SVG Native support? Aug 3, 2022
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