14

My current project is related to bitmap to vector. so far i found these libraries:

potrace

  • (+) really good for line tracing
  • (+) documentation
  • (-) does not support image gradient

ardeco

  • (+) support olor gradient
  • (+) documentation
  • (-) line tracing is inferior compared to potrace
  • (-) outdated (2006)

rastertovector

  • (+) support color gradient
  • (-) little documentation
  • (-) line tracing is inferior compared to potrace
  • (-) little bit outdated (2008)

the project will be used to vectorize cartoon image (comic or cartoon, specifically). My main goal is just vectorizing black and white image. So potrace gives me sufficient result, but i would like to process gradient, for example, gradually from black to white.

so far, it's quite hard to find library that support color gradient. Ardeco and rastertovector support color gradient, but they are a little bit outdated. I am wondering if there is any well-maintained (and of course, well documented) vector-tracing library out there

Thanks!

Jordan.J.D
  • 7,999
  • 11
  • 48
  • 78
azer89
  • 1,529
  • 1
  • 15
  • 29
  • Just note that some people may recommend Autotrace, which is not maintained and has never gotten past beta. (The latest version, 0.31.1, was released in 2002). – whoKnows Oct 10 '15 at 12:46

1 Answers1

5

Have you tried OpenCV? Perhaps these other threads can be useful for you:

And also these tutorials:

Community
  • 1
  • 1
Luiz Vieira
  • 570
  • 11
  • 35
  • As per the article, "Convert raster images to vector graphics using OpenCV?", the most popular answer states that there is no vectorization tool readily available. – Shmack Feb 24 '21 at 20:58