How to convert a raster image into vector?


I'm trying to convert a icon from .psd format to vector. Here is my .psd file snapshot.

enter image description here

This is my converted(Vector) file snapshot after live trace.

enter image description here

I mean it has lot of blurs. I need pixel perfect result. How can i achieve that. Illustrator live trace allows only upto 256 colors?. What should i do if my source file has more than 256 colors?


9/9/2013 7:09:00 PM

Accepted Answer

Live Trace doesn't do gradients, so can only work with discrete colors (hence the banding). The engineering involved in working with arbitrary numbers of colors would be horrendously complex, involving from-the-ground-up rewriting of Illustrator (there are limits on the number of individual vectors in one document).

To convert this image you would bring it into illustrator, trace the paths with the Pen tool, then use Gradient Mesh in conjunction with the eyedropper tool to recreate the gradients on your vector layers. There are myriad tutorials out there on the web. This one from vectortuts covers exactly what you need to do. Google "gradient mesh illustrator tutorial" for the >1,000 others.

9/11/2011 1:31:00 AM

I'd say AI's livetrace did a commendable job on that. That's about as good as you're going to get with any automated tool.

You'll want to re-created it by hand for anything better. Looking at the original, I'd start with a donut shape with the gradient colors you want, then add translucent layers on top for the highlights.

As for pixel-perfect results, well, that's what raster images are--pixels. Vector illustrations have no concept of pixels.