I want to extract bezier paths from a png like this. sample image
Asked
Active
Viewed 573 times
3
-
What do you want to do with the beside paths once you've extracted them? – Alistair McMillan Nov 29 '16 at 18:14
-
I want to color it. color separate elements in deferent colors. Thats why I want bezier paths of separate elements. – sumudu siriwardana Nov 30 '16 at 04:04
1 Answers
0
potrace doesn't support reading PNG files natively. You'd need to convert PNG images to another supported format first. http://potrace.sourceforge.net/faq.html#formats
However potrace is licensed under the GPL so while it does compile for iOS you may not want to use it as part of an app. Is it possible to compile potrace for iOS? There is a non-GPL version of potrace available, but it isn't free.
Depending on the complexity of the PNG images you want to convert, you may get less than ideal results anyway.
If you update your question with more detail about what you are trying to achieve it might be possible to give a better answer.

Community
- 1
- 1

Alistair McMillan
- 1,160
- 10
- 23