Quick Tip: How to Achieve Pixel Perfection in Photoshop
In this Treehouse Quick Tip, we’re going to learn how to deal with unwanted anti-aliasing in Photoshop and achieve pixel perfection when working with vector shapes. This method is referred to as pixel-hinting.
Using Adope Illustrator and Photoshop, you can apply pixel hinting to your vector shapes to get exactly the design you are looking for.
Allison: Hi, I’m Allison Grace. In this Treehouse Quick Tip were going
learn how to deal with unwanted anti-aliasing in Photoshop
and achieve pixel perfection when working with vector
shapes. This method is referred to as pixel hinting. In
this quick tip I’ll be using Adobe Illustrator CS6 and
Adobe Photoshop CS6.
Now I’ve gone ahead and created a simple logo in
illustrator and I want to bring that logo to use in a
design I’m working on in Photoshop. So, Control+A to select
all, then Control+C to copy and let’s navigate on over to
Photoshop. So, let’s go ahead and Control+V to paste the
Photoshop gives us a dialog box that asks how we want to
paste in our vector shape. Since we want to be able to edit
the paths, we’ll paste it in as a shape layer. So, I’m
going to go ahead and scale the logo to my desired size,
because if I resize the shape after pixel hinting I’d need
to do it all over again. We’re going make this logo white,
So, let’s go ahead and zoom in a little bit closer here. If
you notice, there is some unwanted anti-aliasing happening,
especially around these horizontal lines here. What that
does, if we zoom back out is it actually makes the logo
look a little bit blurry. This happens to a lot of vector
shapes because the paths are not completely taking up one
whole pixel. They’re taking up a little more or a little
less. Sometimes for it to appear perfect we’ll need to
adjust the shapes.
Now, in CS6 we’ll need to head to Photoshop, Preferences,
and General, and head on over to the very to the very last
check box here and uncheck Snap Vector Tools and Transform
to Pixel Grid. Press Okay. Turning this option off will
let us manually adjust where the paths fit into Photoshop’s
pixel grid. You’ll want to turn it back on if your drawing
shapes in Photoshop later.
So let’s go ahead and right click and select the shape. We
can see the paths that make up the vector shape now.
First, let’s go ahead and zoom in on the icon here. As you
can see this part of the paper airplane is not a perfectly
straight line and because of this, it’s causing some
fuzziness in the logo.
So, if we navigate over to the toolbar and select our
direct selection tool, we can grab the anchors on our path.
Then we can use our right arrow to nudge it to the right.
We can see now that the line is beginning to appear
sharper. We’ll do the same thing with this anchor.
Now, let’s move on down to this horizontal line here. Click
on the top left and top right anchors of this line,
remembering to hold shift, and let’s go ahead and use the
bottom arrow on our keyboard to nudge it down. For the
bottom left and bottom right anchors, we will nudge it up a
bit. So, if we zoom out we can see how much better our logo
is beginning to look. Moving down to the type, make sure to
Text should and will have anti-aliasing, especially around
the curves where letters should appear smooth. So, only
adjust the areas of the vector shape that should have a
sharp clean edge. We’ll just fix the top and bottom of the
letters and leave the rest alone.
To move around the canvas when you’re zoomed in this close,
just hold down the space bar. So if we zoom out back to
100% we can see that our logo is very crisp and sharp.
Pixel hinting and snapping your vector shapes to grid will
result in a much cleaner, crisper design. Training your eye
to be aware of the overall design, down to each and every
pixel is what will set a good designer apart from a great
Announcer: If you’d like to see more advanced videos and tutorials like
this one go to teamtreehouse.com and start learning for
Comments are closed.
Front End Web Design
iOS Development with Swift
Python Web Development
Each is designed by our faculty of tech professionals to guide even a coding beginner to becoming a job-ready software developer armed with a professional portfolio of real-world projects. Try one out today with our free seven-day trial, and see if software development is for you.