本文介绍了Inkscape-无法将png完全转换为svg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Inkscape中打开了一个PNG文件,并将其导出为SVG.当我用记事本打开该文件时,我知道PNG文件已嵌入其中.如果转换发生,则结果文件应仅具有SVG相关标签.它不应将图像嵌入其中.还是我做错了什么.

I opened one PNG file in Inkscape and exported it as SVG. When I opened that file with notepad I came to know that the PNG file is embedded within it. If the conversion happened then the resulting file should have only SVG related tags. It shouldn't embed the image within it. Or Am I doing anything wrong.

注意:另存为选项也会产生相同类型的文件.我正在Windows 7-64位上使用Inkscape 0.48版.

Note: Save as option also producing the same kind of file. I am using Inkscape version 0.48 in Windows 7 - 64 bit.

推荐答案

.png文件是光栅图像文件.为了将其转换为基于矢量图形的格式,例如.svg,并使其成为本机" svg而不是包含的image,您将不得不使用可以对其进行光栅化的程序,或者在Inkscape中跟踪该位图并把它变成路径. Inkscape提供有关跟踪的信息: http://inkscape.org/doc/tracing/tutorial-tracing .html

A .png file is a raster image file. In order to convert it to a vector graphic based format like .svg and have it be "native" svg rather than an included image you are going to either have to use a program that can rasterize it or in Inkscape trace the bitmap and turn it into paths. Inkscape provides information on tracing: http://inkscape.org/doc/tracing/tutorial-tracing.html

这篇关于Inkscape-无法将png完全转换为svg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-19 05:47