View Full Version : GIMP - convert png to svg ?
Sceiron
October 24th, 2008, 12:12 PM
I have read that this is possible to do in gimp, but i cant find out how.
Tried to "Save as" but there is no extension for .svg...
Using GIMP 2.4.5
Am i missing som add-ons?
blackened
October 24th, 2008, 12:35 PM
Unless there's an auto-trace function built in, then converting from raster to vector is usually a manual job. I think inkscape has a built-in auto-trace function, but, from what I've read, it does a mediocre job at best.
Your best bet, as far as quality goes, would be to use Inkscape, import a (preferably large, 256x256 px) png and then convert it to vector by hand.
sloggerkhan
October 24th, 2008, 12:38 PM
You can use inkcape, if you get the settings right it will do a decent job, particularly for logo-style images. There are a lot of settings to tweak and it's not at all obvious what they do, though.
innovati
October 24th, 2008, 03:34 PM
from what I understand, the way to export an SVG from the GIMP was to export Paths. If you were to open a PNG in the GIMP there would be no paths yet, but any paths you make from the PNG should be able to be exported.
SVG is a vector graphics format, PNG is a bitmapped image format - they di very different things. SVG can contain embedded bitmapped graphics, but that wouldn't be desirable, nor would it save you space.
If you desire a vector trace of the PNG, the Auto-trace in Inkscape (shift+alt+B) is the best tracer I've ever used, and I believe it's based on PoTrace. In the GIMP you should be able to select colour regions with the colour select tool, and then create Paths from selection.
Hope this helps...
dariusdwtt
December 7th, 2008, 08:59 AM
bump
smartboyathome
December 7th, 2008, 02:35 PM
Like others said, theres Inkscape, but your best bet is tracing the raster graphic by hand, since there isn't a tool yet which can do gradients and such correctly (they just use a bunch of different colored objects next to each other).
lingenfr
April 12th, 2009, 06:59 PM
Then what happened to the gimp-svg package that was in previous releases? All I want to do is create a stinking menu icon, not a video game. This is a bit ridiculous.
Dadster
April 12th, 2009, 10:19 PM
Try here http://www.rw-designer.com/online_icon_maker.php hopefully that helps you
73ckn797
April 12th, 2009, 11:16 PM
Remembering something from windows, I made a copy of a jpg file and renamed the extension to svg. I then, as a test, created a launcher on the desktop. Once that was done I right clicked the launcher, selected properties and clicked on the icon and selected the copied and renamed extension file. It loaded as the icon for the launcher. Really quite simple!
smartboyathome
April 13th, 2009, 09:41 AM
Remembering something from windows, I made a copy of a jpg file and renamed the extension to svg. I then, as a test, created a launcher on the desktop. Once that was done I right clicked the launcher, selected properties and clicked on the icon and selected the copied and renamed extension file. It loaded as the icon for the launcher. Really quite simple!
That doesn't create a "true" svg, though. To create a true SVG, one must trace manually.
And the GIMP SVG package was just for importing SVGs. Now that the feature is built in, there is no need for that. I would recommend creating your logo in Inkscape if you really want it as SVG.
kayosiii
April 13th, 2009, 10:42 AM
SVG are not bitmap files but SVG files can contain embedded bitmaps but doing things that way kind of defeats the purpose of using SVG in the first place... If you still want to use the embedded method, try the following, Open up an existing svg Icon file in Inkscape, Have a look at the sizing layers etc. save a copy with the new icon name. You can drag and drop a PNG image from a file manager into Inkscape then scale it to fit the dimensions of the Icon then delete the original material. Save this new svg file.
73ckn797
April 13th, 2009, 05:38 PM
That doesn't create a "true" svg, though. To create a true SVG, one must trace manually.
And the GIMP SVG package was just for importing SVGs. Now that the feature is built in, there is no need for that. I would recommend creating your logo in Inkscape if you really want it as SVG.
I realize it is not a true svg based on the resulting file size not changing. I actually had not tried it to see what it would do. It worked in essence though not the same as how it worked in Windows. I will look into the SVG package for future uses of creating icon files.
eb sol
November 27th, 2009, 03:28 PM
Check out this link (http://ubuntuforums.org/showthread.php?t=567590) .. It might help ;)
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.