![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: Feb 2006
My beans are hidden!
Ubuntu 7.04 Feisty Fawn
|
how do I convert png to svg?
Hello
How do I convert a png picture to svg?I have Inkscape installed. What do I do?Please reply to me. Regards Coop. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Location: Okotoks, Alberta, Canada
Beans: 44
Kubuntu 9.04 Jaunty Jackalope
|
Re: how do I convert png to svg?
AFAIK
The Import command supports all of the bitmap formats that are covered with GdkPixbuf (Including PNG) Export as SVG... Peter
__________________
PeterLinux All my writings are based on real world experiences; hopefully you enjoy them. Constructive feedback is always appreciated. |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2005
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Re: how do I convert png to svg?
Or you can just install an SVG editor like Inkscape (available in the repos), import the PNG, and export it as SVG.
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Location: Okotoks, Alberta, Canada
Beans: 44
Kubuntu 9.04 Jaunty Jackalope
|
Re: how do I convert png to svg?
That's exactly what I mean or are you looking for a command line solution?
Not sure about this one but it may work, I have not checked the syntax of the command use at your own risk inkscape -export-svg=new.svg newlogo2.png I know the other way around from svg to png works that way
__________________
PeterLinux All my writings are based on real world experiences; hopefully you enjoy them. Constructive feedback is always appreciated. |
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2007
Beans: 34
|
Re: how do I convert png to svg?
That option -export-svg does not exist and as I understand the man pages inkscape can not convert png to svg. Only the other way around (vector -> raster) would work (as you said already). Still, inkscape can import png (and other raster/pixel graphics) via the File menu and you than can trace it via the Path menu -> "Trace Bitmap...". In my tests with a small (48x4
Cheers. |
|
|
|
|
|
#6 | |
|
Just Give Me the Beans!
![]() Join Date: Jan 2006
Location: Near Frankfurt, Germany
My beans are hidden!
|
Re: how do I convert png to svg?
Quote:
The absolute best way that I have found to "Automatically" convert from png to svg is to use VectorMagic from Stanford. http://vectormagic.stanford.edu/ I think you will be truly amazed at the results. Let me know how it goes. Best Regards, Williamts99 Last edited by williamts99; November 12th, 2007 at 04:33 PM.. Reason: Had to add the word Automatcially :-) |
|
|
|
|
|
|
#7 |
|
Big cup of plunger coffee
![]() Join Date: Apr 2005
Location: Finland
Beans: 6,475
Ubuntu 9.10 Karmic Koala
|
Re: how do I convert png to svg?
There is no simple way to convert from bitmap image format into vector image format.
The only thing you can do is import the image in some vector image editor (like Inkscape) and then try to trace it into vectors. The result will never be exactly same as your original bitmap image was, but it might be good enough for your needs. To do this with Inkscape, import the PNG image into Inkscape, select it and then go to Path/Trace Bitmap. Then you just have to try different settings until you get a result that pleases you.
__________________
42 |
|
|
|
|
|
#8 | |
|
Just Give Me the Beans!
![]() Join Date: Jan 2006
Location: Near Frankfurt, Germany
My beans are hidden!
|
Re: how do I convert png to svg?
Quote:
Talk about timing on a reply Seriously though, try out VectorMagic from Stanford. http://vectormagic.stanford.edu/ |
|
|
|
|
|
|
#9 | |
|
Big cup of plunger coffee
![]() Join Date: Apr 2005
Location: Finland
Beans: 6,475
Ubuntu 9.10 Karmic Koala
|
Re: how do I convert png to svg?
Quote:
It's just that usually when people wish to convert image from one format to other, they are expecting to get exactly the same image, only indifferent file format. And that's not possible when converting from bitmaps to vectors.
__________________
42 |
|
|
|
|
|
|
#10 |
|
Just Give Me the Beans!
![]() Join Date: Jan 2006
Location: Near Frankfurt, Germany
My beans are hidden!
|
Re: how do I convert png to svg?
Good point, I figured that if they wanted to vectorize their images that they would know the result they wanted.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|