Configure Photoshop for pixel perfect design

By default Photoshop tries to improve image quality by adding a feather effect to the contour of resized images. This feature can be very annoying when you're working on web designs. You have surely already experienced it. Here is a screenshot of what we're talking about:

Photoshop Feather

The image just doesn't look crisp like this and this is a basic square. Notice the values for positioning and size are not natural numbers. There is no such thing as half a pixel, but photoshop will try to achieve the effect with that feather. Fortunately you can change the settings to reduce this to a minimum.

Set up proper units

Go to File > Preferences > Units & Rulers. Change the units for both Types and Rulers to pixels.

Set up a grid

From the preferences menu choose Guides, Grid, Slices & Count. Now set a pixel grid according to your needs. It's good to have subdivisions every pixel for the images to snap to.

Grid Settings

Set up snapping options

Now that you have the right units you want the images to snap to your guides and grid.

Photoshop Snapping

Snap vectors to pixels

One last thing you may find useful is to make sure your shapes snap to natural pixel numbers. This is specially useful for shapes with curved lines. To activate the snapping check the box in the tool options as you see in the screenshot.

With this small changes you'll save a lot of time and frustration when designing for the web.

Rate this item
(0 votes)

12 comments

  • Comment Link sam Monday, 21 November 2011 11:01 posted by sam

    thanks a lot mate this was great help

  • Comment Link Demente Thursday, 15 September 2011 16:46 posted by Demente

    Have fun adding circles to your site ;)

  • Comment Link Rafael John Thursday, 15 September 2011 08:11 posted by Rafael John

    [quote name="Demente"] Kind of like making circles with CSS border-radius ^^
    Cheers![/quote]
    and I never thought of that haha, that would be perfect for my site. cheers!

  • Comment Link Demente Thursday, 15 September 2011 07:47 posted by Demente

    True. That's a nice technique, thanks for sharing it :) Kind of like making circles with CSS border-radius ^^
    Cheers!

  • Comment Link Rafael John Thursday, 15 September 2011 05:17 posted by Rafael John

    nice! I forgot about this , thanks for the refresher. and also the elliptical tool has no snap to pixel option.

    but you can still do a perfect snapped ellipse by using the round rectangle tool and giving it a really really high radius, like 800 px. then you can create perfectly snapped circles now. Cheers!

  • Comment Link Paul Friday, 12 August 2011 17:59 posted by Paul

    I just burped :O

  • Comment Link Rafael Tuesday, 02 August 2011 13:28 posted by Rafael

    Wow great tutorial. This gonna help me so much. Thanks a lot

  • Comment Link Arthit Friday, 08 July 2011 16:05 posted by Arthit

    Nice post ,thank i will try it. :)

  • Comment Link Demente Friday, 06 May 2011 05:39 posted by Demente

    Don't worry, it happens to all of us XD

  • Comment Link rjksn Friday, 06 May 2011 03:02 posted by rjksn

    Good god. The fact that I never thought of this makes me so ashamed.

    Thanks for pointing out the disgustingly obvious (after you realize it).

Leave a comment