Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Design Illustrator Foundations Creating an Icon Understanding Shapes

Grady Kelly
Grady Kelly
505 Points

Is there a way to turn off all the half and thousandths of a pixel positioning?

I am coming from using Fireworks for over 10 years. Everything is by the whole pixel. Nothing is at x: 411.5 / y 200.234 it would be 411/200. The same with widths and heights. Any way to make Illustrator do this?

1 Answer

Select the object and then tick the Align to Pixel Grid option on the Transform Panel. This will force objects to snap to the nearest pixel. So, beware, paths will move and changes to match the pixel grid. And strokes are limited to nothing less than 1pt/px.

When creating a new document, you can also choose the option to Align New Objects to Pixel Grid in the New Document dialog window. You can also choose the Align New Objects to Pixel Grid item in the Transform Panel menu to make all newly created objects have the option set by default.

Grady Kelly
Grady Kelly
505 Points

Thanks Jon for the answer! The only other problem that I am having is the x/y coordinates are in 1/2 pixels as well. When I adjust them the pixels get antialiased. Am I missing something?

No you are not missing anything. Try to transform your object and adjust it in 410 pixels instead of 411. I think that this is the problem. You are welcome.