Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

I created this button state image in Illustrator.

enter image description here

When I choose Save for Web it looks like this in the preview:

enter image description here

How, on saving for web, can I make the black single-pixel line maintain its black color and prevent the line colors from bleeding into one another?

I am using Illustrator CS4.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

In the Save For Web dialog, under the "Image Size" tab, uncheck Anti-Alias.

Or uncheck Anti-Alias in the export options dialog when exporting.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.