3

I want to extract bezier paths from a png like this. sample image

1 Answers1

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