Showing posts with label image. Show all posts
Showing posts with label image. Show all posts

Monday, April 25, 2011

Converting jpg files to svg

I am by no means a graphic designer. In fact, I am quite far from it. I do however have a need at times to work with images to get the results that I need, and like a lot of developers out there, I don't exactly have the funds to just hire one, nor do I know any (which would be incredibly handy sometimes, gotta say).

Today I was looking at some images online and found one that really liked, but was only able to get it in .jpg format. So, I did some digging and found handy instructions over here that guided me to converting the jpg to an svg (Scalable Vector Graphics) file. Once converted I was able to re-size the image without pixelation or blurring.

The instructions, as were provided, are for doing this under Ubuntu Linux, which I run. If you are on another OS, sorry, you will have to either see if this application is available for your system or find a similar application that will do the job.


To Convert .jpg files to .svg format:

1. Install Inkscape, if not already installed: sudo apt-get install inkscape
2. Start Inkscape after it is installed and then import the image under File->Import
3. Using the arrows on the image, re-size it to the size you wish, then hover your cursor over the image and hit Ctrl-Shift-D. That will bring up the Document Properties box.
4. Click on the Shrink To Fit button to re-size the image desktop to your images size.
5. Client File->Save As to save your image. It will default to a .svg file.

That is it. That's all there is to it. Hope this helps you in your quest, if you had one.
 
Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.