exyte / Macaw

Powerful and easy-to-use vector graphics Swift library with SVG support
MIT License
6k stars 552 forks source link

Can we convert NSImage to SVG? or PNG to SVG? MACOSx Swift 5. #760

Closed YogeshPateliOS closed 3 years ago

YogeshPateliOS commented 3 years ago

Actually, I want to convert NSImage to SVG means Bitmap to vector in swift 5. Please give me your suggestion. How can I achieve this. Thank You!

ystrot commented 3 years ago

No, there is no such a functionality in Macaw, probably you're looking something like that: https://github.com/pcolton/potrace

YogeshPateliOS commented 3 years ago

Yes, I did this using Potrace Libary, and just see your comment. By the way thanks for your reply and suggestion :-) Potrace library was build for only iOS so I convert the main file code to macOS. It's working good now for SVG.