Is there a way to convert a gradient made in Photoshop into a vector mesh?


I am not good at using a gradient mesh in illustrator or core draw (any vector program), it makes sense to create a non linear complex gradient in Photoshop. However when using tools like live trace I get a banding problem where each part of the gradient is split up into individual parts.

image shows the live trace result

this image shows the detail of what happens

How would I convert the bitmap into a one piece gradient vector mesh, I use Corel Draw and Illustrator. Would not be opposed to using a standalone tool.

8/19/2015 3:27:00 PM

The problem is that you're trying to go from apples to oranges - the gradient in Corel Draw / Photoshop is a raster image, and you're trying to then bring it in and apply it as a vector gradient. A raster gradient has a defined size, and attempting to map it using the live trace tool causes Illustrator to try and find specific values at specific points within the gradient - thus the "stepped" result. If you're greatly expanding the raster shape you'll also be dealing with jaggies and aliasing artifacts from rescaling a raster gradient.

I'd recommend trying a couple of things:

  1. The gradient tool (shift + g) in Illustrator will allow you to fill a shape using the same types of controls as you'd see in Photoshop when building a gradient. I've used this very successfully as it's a lot simpler than the mesh tool (which is meant to provide precise gradient control over an irregular shape, not a nice gradual gradient). To use the regular gradient tool, create a shape and click on the little gradient under the foreground / background color swatches to fill the shape with the existing gradient. enter image description here

The existing gradient can then be manipulated in the Gradient flyout menu.enter image description here

  1. If that doesn't tickle your fancy you could always live trace the imported gradient and then use the mesh point removal tool (select the gradient tool and hold down option while clicking on a point) to delete most of the points in the mesh. It would still be a mesh but it would be a lot simpler and thus easier to deal with.
8/19/2015 5:25:00 PM