How to Convert JPEG to Vector in Photoshop

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Image Credit: Jupiterimages/ Images

JPEG files are typically photographs. They show continuous color variations and tones throughout the image. Vector files, though, generally emphasize line and shape instead. They are often clip art illustrations, or outlined art like maps. JPEGs can not be enlarged without degradation to the resolution of the image, whereas vector files can be enlarged without any loss of quality. There are programs (like Genuine Fractals) which use complicated algorithms to enlarge JPEGs as if they were vector images, but there are ways to approximate the same result in Photoshop.


Step 1

Decide what part (shape) in your JPEG you want to convert to a vector file. You will not be able to convert every detail all at once, so you will have to pick out specific objects one at a time. Even dedicated tracing software (e.g., Adobe Streamline) is limited in how much detail from photos can be turned into a vector image all at once. For the sake of this article, let's say you wish to turn a hat from a photo into a vector image.


Video of the Day

Step 2

Increase the contrast in your JPEG. With your JPEG open in Photoshop, select Image, then Adjustments, and the click Brightness/Contrast. Make sure the "preview" option is checked, and then drag the Contrast bar slowly to the right. You are trying to separate the hat tonally from whatever is surrounding it. You may have to play with both the Brightness and the Contrast sliders, depending upon the hat and the background.


Step 3

Use the Magic Wand tool from the Tool Bar. Try setting the tolerance to 10, and click the hat. If the image was fairly contrasting, it should immediately select the entire hat. If it selected more than the hat, decrease the tolerance and try again. If it selected less than the whole hat, try increasing the tolerance. Use the Magnetic Lasso tool from the Tool Bar, if the Magic Wand does not work.



Step 4

Make a working path from the selection. Go to the Paths palatte (Window, then Paths), and choose "Make work path from selection."

Step 5

Export the path. Go to File, then Export, and then click "Paths to Illustrator." Choose a name for the file to save it under, and then click "okay." The file will be saved as an Adobe Illustrator (.ai) vector file, and can now be manipulated in vector illustration programs like Illustrator.

Step 6

Follow the steps outlined above to convert other elements from your original JPEG file.




Report an Issue

screenshot of the current page

Screenshot loading...