I have align to pixels turned on for new objects, but an image I placed earlier is not aligned to pixels, though it's exactly 1440 x 900. How do I set Illustrator so that when I move this image object, it will always snap to a round number?


In the Transform window, make sure Align to Pixel Grid is checked. This will force things to snap.

enter image description here

EDIT Make sure you have a shape selected for the checkbox to work.

If that still doesn't work, go to the Transform menu and check Align New Objects to Pixel Grid and replace your image.

Also as AdamSchuld mentioned, you can set this setting when creating a new document under the Advanced section:

enter image description here

  • That box is greyed out and can't be checked. – dbonneville Sep 12 '13 at 16:36
  • Make sure you have an object selected. Or alternatively, make a new document with Align to Pixel Grid option turned on by default. – Adam Schuld Sep 12 '13 at 16:42
  • 1
    The placed image was selected, and the box is greyed out. If I select other drawn objects on the page, the option on the transform dialogue becomes available. I set the panel option for all new objects to be pixel aligned, re-placed the object, and now it's lined up right. – dbonneville Sep 12 '13 at 17:02
  • To be clear, "Align to Pixel Grid" does not seem to be available for placed bitmaps. That is the main point of this question... – dbonneville Sep 12 '13 at 17:03
  • Alright, but using the option and the replacing the object worked? i was thinking about including that in my answer but didn't think it was necessary but it seems it is. I've edited my answer to include this. – Hanna Sep 12 '13 at 17:03

At the top of the screen you will see X and Y values for your object. You can manually type in the position at any time to get exact positioning.

Besides that you can shift+arrow keys to move objects in multiples of 10.

  • I know I can type it of course. I want to know what setting has to be checked so everything, placed or drawn, will align to the pixel grid by default. – dbonneville Sep 12 '13 at 16:37

You need to have pixel preview on for it to work. To enable that, just go to View \ Pixel Preview on the top menu. That is what actually enables the snap to pixel mode in illustrator, which cannot be done any other way.

Checking align to pixel grid is not a good option, unless we are talking about elements made of square angle (90 degrees) lines, like rectangles and (you guessed it) 90 degree lines. When align to pixel grid is checked, every node in your object will try to align to the nearest pixel, which is not really a good idea, because you are going to have node quantization (it will look like bad pixel interpolation).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.