PDF to SVG, Black to Green

Post questions on how to use or achieve an effect in Inkscape.
ben_b
Posts: 3
Joined: Fri Oct 22, 2010 6:53 pm

PDF to SVG, Black to Green

Postby ben_b » Fri Oct 22, 2010 7:12 pm

Hello,

I am new to graphics so looking for a little help here. I am looking to convert a fairly decent quality PDF version of a black and white logo into SVG. The PDF version of the logo is as original of a copy as I could obtain of the logo. I opened the PDF and it appears to have loaded the logo and allowed me to save it as SVG although the SVG file is bigger than the PDF file was -- I thought SVG was supposed to save space? Also I am looking to convert the black and white logo into green and white (change the black to green). How can I do this? If anyone would like to see the logo to provide assistance I can provide it.

Thanks in advance.

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: PDF to SVG, Black to Green

Postby druban » Sat Oct 23, 2010 4:55 pm

Upload the PDF or SvG so we can see what the problem might be! should be simple using the fill and stroke dialog (ctrl shift f)
Your mind is what you think it is.

ben_b
Posts: 3
Joined: Fri Oct 22, 2010 6:53 pm

Re: PDF to SVG, Black to Green

Postby ben_b » Sun Oct 24, 2010 11:30 am

Here you go... http://db.tt/7Q3SYS8. Thanks for any help. Like I said not very experienced here but would like to learn.

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: PDF to SVG, Black to Green

Postby druban » Sun Oct 24, 2010 6:37 pm

Well, there were a few not unusual oddities in that there were a lot of unnecessary groups and the conversion was three color with black white and gray instead of two color.... the easiest way to change the color would be to save as svg, open it in a text editor, and search and replace every instance of the word black with the word green! Life is more complicated when there are also gray and white objects as in your file. In Inkscape you can find every object with a style attribute of white using the find command. then invert selection. then open the fill and stroke dialog and pick the green you want for both fill and stroke since your graphic has both.

I picked forestgreen #228b22 and did the change for you and then simplified the paths to shrink the file with minimal loss. so here is a large file and a small file. you can open either one in a text editor and change every instance of 228b22 to the color hexadecimal name of the green you want, or open in Inkscape and find every object that has 228b22 in its style and then use the fill and stroke dialog to change to your fav green.
hope this helps.
stepsmall.svgz
simplified
(27.56 KiB) Downloaded 155 times
step.svgz
original size
(89.57 KiB) Downloaded 152 times
Your mind is what you think it is.

ben_b
Posts: 3
Joined: Fri Oct 22, 2010 6:53 pm

Re: PDF to SVG, Black to Green

Postby ben_b » Sun Oct 24, 2010 7:39 pm

Thanks a bunch. They look great. My only question and comments are how was the pdf file converted to svg and it appears some of the spacing between the blades of grass was lost.


Return to “Help with using Inkscape”