且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我怎么能简单的形状位图转换为矢量(几何)

更新时间:2023-02-16 21:14:26

是的,您可以使用跟踪。 Potrace 是一个开源的位图到矢量跟踪器库。

Yes, you can using tracing. Potrace is an open source bitmap-to-vector tracer library.

然而,位图跟踪不完善;高品质的矢量图像,线条示踪剂一般只用来做初步追查,以后将手工调整。 Inkscape中,一个开源的矢量图像编辑器,提供了内置的支持,跟踪(内部使用potrace)。

However, bitmap tracing is imperfect; for high-quality vector image, line tracer is generally only used to do the initial tracing, which would later be hand-tweaked. Inkscape, an open source vector image editor, provides built-in support for tracing (internally using potrace).