How to export png from Illustrator without anti-aliasing?

On first image yow can see an icon, a line is selected in Adobe Illustrator.
On second image you can see the image after Save for Web .. was pressed.

I do not need anti-aliasing, extra strip between gray and black spaces. How can I turn off anti-aliasing in Illustrator?

enter image description here
enter image description here

UPDATE

I am now confused, it seems that pictures are not anti-aliased, but Preview anti-aliase it.

But if I check it with magnifier, I can see that it it not aliased.

enter image description here

Save for Web .. has a setting too, that has an effect on anti aliasing
enter image description here

Answer

Try to save via Export function – you will see the options for PNG including anti-aliasing switching off:

enter image description here

Attribution
Source : Link , Question Author : János , Answer Author : Ilan

Leave a Comment