转换图像(JPG,BMP,GIF)为SVG [英] Convert Image (JPG,BMP,GIF) to SVG

查看:1333
本文介绍了转换图像(JPG,BMP,GIF)为SVG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道告诉我一个工具,实际工作(我试了,但没有工作),与彩色图像的支持。如果他的一些朋友知道如何实现这一点,或使(C#)的组成部分,我将不胜感激。

Does anyone know tell me a tool that actually works (I tried several, but none works), with support for color images. If some of his friends know how to implement this, or any component that makes (C #), I would be grateful.

感谢您的帮助。

以下工作程序,但是,叶在黑色和白色的所有文件。我仍然在寻找完美的方案。

The program below works, however, leaves all the files in black and white. I'm still looking for the perfect program.

总矢量

推荐答案

转换位图图形矢量图形(例如,PNG至SVG)是一个明确不平凡的任务与没有直接的解决。这样做反过来想 - 向量位图图形 - 当然是渲染一个简单的过程,这是怎样的事情,如果你想两种格式通常做

Converting bitmap graphics to vector graphics (for example, PNG to SVG) is a definitively non-trivial task, with no straightforward solution. Doing it the other way round - vector to bitmap graphics - is of course a simple process of rendering, and that's how things are usually done if you want both formats.

目前。其核心,这种转换需要复杂且容易出错的算法,分析图像中的图案。更复杂的图像将根本不可能分解成矢量图形。的技术说明是基于这样的事实,的位图表示的信息熵是保证比矢量表示,这意味着总有扭转了明确定义的矢量图形渲染的过程中不确定度更高。

At its core, such a conversion requires complex and error-prone algorithms that analyse patterns in images. More complicated images will simply be impossible to decompose into vector graphics. The technical explanation is based on the fact that the information entropy of bitmap representations is guaranteed to be higher than that of vector representations, which means there is always uncertainity in reversing the well-defined process of vector graphics rendering.

最好的方案广泛适用于你的任务是可能的要 矢量魔术 (共享软件)。如果不为你做的工作,这是不太可能的东西都会,不过当然你可能会需要很多调整好结果的。

The best program widely available for your task is likely to be Vector Magic (shareware). If that doesn't do the job for you, it's not likely anything will, though of course you'll probably need a lot of tweaking for good results.

这篇关于转换图像(JPG,BMP,GIF)为SVG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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