如何在C#中将位图轮廓转换为矢量格式(svg) [英] How can I convert bitmap contour to vector format (svg) in C#

查看:1006
本文介绍了如何在C#中将位图轮廓转换为矢量格式(svg)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C#中将位图轮廓转换为矢量格式(svg)。是否有一种简单的方法

How can I convert bitmap contour to vector format (svg) in C#. Is there a simple way

推荐答案

经常发生的事情,维基百科可能是你的出发点:矢量化(图像追踪) [ ^ ],请参阅矢量化算法部分。
As often happens, Wikipedia could be your starting point: "Vectorization (image tracing)"[^], see the "Vectorization algorithms" section.


嗯,这一切都取决于您尝试的位图的性质vectorize,但是,一般来说,没有简单的方式。



你可以做的是探索各种.NET图像库,看看是什么(如果有的话)他们提供:[ ^ ]。



我认为你可以做的最好的是由Soren Madsen在这里回答关于CP的类似问题并接受他的建议:[ ^ ]。
Well, it all depends on the nature of the bitmap you are trying to vectorize, but, in general, there's no simple way.

What you can do is explore various .NET imaging libraries and see what (if anything) they offer: [^].

I think the best thing you can do is study this reply by Soren Madsen to a similar question here on CP, and take his advice: [^].


这篇关于如何在C#中将位图轮廓转换为矢量格式(svg)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆