Answer the question
In order to leave comments, you need to log in
How to smooth SVG outlines?
Actually, there is nothing to add. There is a logo in SVG format, which, at the right width, has very torn edges, that is, they directly ooze pixels. You might not notice it on a computer, but on a mobile phone it is very visible. Is there any way to apply anti-aliasing to it? Or can it be easier to translate into another format, and if so, to what?
Here is the same SVG on codepen .
Answer the question
In order to leave comments, you need to log in
Good afternoon.
We did some magic with your svg-shka both from the design side and at the front, the conclusion: apparently the point is that browsers render vector images in such a way that such "ladders" are obtained, although in fact everything is fine in the file itself. You had a problem with the fact that the proportions of the original image do not match the proportions of the container in which it is used, they thought that this was the problem - it did not help either.
We suggest then, to smooth this effect, slightly change the image itself and "thicken" thin elements, this will not solve the problem, but will make it less noticeable.
Before:
Now:
Corrected file
https://mab.to/sG4WI9YUe
In general, vector rendering algorithms are different, you can look at this article and try to look for another solution: https://habr.com/ru/post/318880/
Pavel Palenin
Head of design in Athanor
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question