I
I
Igor Pavlenko2016-04-22 14:37:33
css
Igor Pavlenko, 2016-04-22 14:37:33

Anti-aliasing svg?

There is a logo (from illustrator) when its size is reduced, the logo loses a lot in quality. I know it has something to do with inaccurate viewbox values, but is there any way to avoid this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GreatRash, 2016-04-22
@GreatRash

https://developer.mozilla.org/en/docs/Web/SVG/Attr...
UPD: It's also possible (even more likely) that the logo designer doesn't understand shit on the web (as is usually the case), and therefore does not realize that it is necessary to actually try to align the shapes on the pixel grid. Didn't hit the pixel - get a crooked result.

M
Mikhail, 2016-04-22
Chirskiy @chirskiy_mixail

You would lay out an example though, and then asked to help.

V
vvvadimos, 2016-04-22
@vvvadimos

yes, you need to work with the pixel grid, but + to everything, svg will display normally everywhere only if you change its size to a multiple of the count. times
i.e. there was an icon of 100 pixels, reduce to 50, not 70 80 or 85
then 100% everywhere everything will be ok

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question