Mobile app version of vmapp.org
Login or Join
Steve758

: Image looks embossed when converted to SVG I converted a raster image to vector in Illustrator CS6 using Image Trace then the Expand option, though when I save as an svg the image looks embossed.

@Steve758

Posted in: #AdobeIllustrator #Svg

I converted a raster image to vector in Illustrator CS6 using Image Trace then the Expand option, though when I save as an svg the image looks embossed. I suspect it's due to the layer background being white and the paths not lining up, but I'm unsure how to fix it or prove that theory without manually having to adjust every path.

The image looks like this when saved:

This is how it looks in Illustrator before I save as svg:

Any help appreciated.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Steve758

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kimberly620

They are called conflation artifacts, if you want to see how different vector engines react see here. If you want to understand the technical reason for some discussion see here. Basically conflation happens because we convert coverage to opacity, and that does not work. If you were to skip coverage based anti-aliasing then you wouldn't have any conflation problems*, for same reason super sampling has no problems.

To circumvent this problem one should always let the object behind overlap with the object above. Think of this like manually layering paper pieces on top of each other. If you cut a shape with scissors that exactly matches the hole of another shape odds are you get a gap, and aligning them is hard. On the computer due to a faulty assumption a perfect shared edge is a bad idea.



Image 1: Prefer not to cut or share edges with the shape below.

This overlapping technique should be taken into account in the beginning of the process. And that means you should not use divide trim or merge in pathfinder, if you aim for web publication. The case has been discussed in this answer, that is near duplicate.

In your specific case the quick fix would be to apply a slight offset on each of the paths. So select all and choose Effect → Path → Offset Path... then type in a small value. Additionally you could arrange colors so that darkest color is in front.

* For this reason a printer wouldn't have a problem. In fact cutting up is important for the printing plate process.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme