[SOLVED] Convert png to svg

Non release banter
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

[SOLVED] Convert png to svg

Post#1 by brokenman » 04 Jan 2016, 02:45

Can someone please show me how to convert a transparent png into a transarent svg. I'd like this logo converted to a plain white logo. Also plain black. Thanks.

https://pbs.twimg.com/profile_images/55 ... id0tVt.png
How do i become super user?
Wear your underpants on the outside and put on a cape.

aus9

Re: Convert png to svg

Post#2 by aus9 » 04 Jan 2016, 03:22

imagemagick has a command called convert

Code: Select all

convert input.png output.svg
To change to white you can't mtpaint but I can open it in gimp. I have no skills in gimp but did a search on how to do it
my image site can't handle the 2M size of svg so its a dropbox

image takes a while to load in FF.....and falsely display background colour as white...but in gimp it shows a transparent bg
OK looking at help now ref http://stackoverflow.com/questions/5588 ... e-to-black
OK converted to white is easy
https://www.dropbox.com/s/2argqduysl5a6 ... e.svg?dl=0

converted to black will need the bg colour changed to what? edit changed to white
https://www.dropbox.com/s/zr4lkqedt97v1ow/whbg.svg?dl=0

fullmoonremix

Re: Convert png to svg

Post#3 by fullmoonremix » 04 Jan 2016, 09:53

Salutations... :good:

I haven't done any svg conversion... :oops: However... my rule of thumb is...
Using Gimp... convert (export?) source format to tiff then convert (export?) to target format.

Best Regards... :beer:

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Convert png to svg

Post#4 by brokenman » 04 Jan 2016, 16:21

The white logo is the one I am interested in. The one you uploaded to dropbox is a png whereas I was after an svg.

EDIT: No problem I was able to convert it with a free online converter. Nice quality. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

aus9

Re: Convert png to svg

Post#5 by aus9 » 04 Jan 2016, 23:22

the one I uploaded is a svg and you click the download button.

If you right hand click the actual image FF and whatever browser you use seems to have no svg capabiliity and decides to download as a png

that will be 2c please :D

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Convert png to svg

Post#6 by brokenman » 05 Jan 2016, 19:55

Thanks aus9. I installed inkscape and got the job done ... so I will be wanting some change from that 2c. :D
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply