1 00:00:01,140 --> 00:00:02,660 [treehouseā„¢ presents] 2 00:00:02,660 --> 00:00:04,250 [Quick Tips: How to Achieve Pixel Perfection in Adobe Photoshop] 3 00:00:04,250 --> 00:00:05,470 [with Allison Grayce] 4 00:00:05,470 --> 00:00:07,380 Hi, I'm Allison Grayce. 5 00:00:07,380 --> 00:00:09,350 In this Treehouse Quick Tip, we're going to learn how to 6 00:00:09,350 --> 00:00:11,850 deal with unwanted anti-aliasing 7 00:00:11,850 --> 00:00:13,710 in Photoshop and achieve pixel perfection 8 00:00:13,710 --> 00:00:15,910 when working with vector shapes. 9 00:00:15,910 --> 00:00:18,400 This method is referred to as pixel hinting. 10 00:00:18,400 --> 00:00:21,700 In this Quick Tip, I'll be using Adobe Illustrator CS6 11 00:00:21,700 --> 00:00:24,460 and Adobe Photoshop CS6. 12 00:00:24,460 --> 00:00:26,770 Now, I've gone ahead and created a simple logo 13 00:00:26,770 --> 00:00:28,370 in Illustrator, and I want to bring that 14 00:00:28,370 --> 00:00:30,730 logo to use in a design I'm working on 15 00:00:30,730 --> 00:00:32,070 in Photoshop. 16 00:00:32,070 --> 00:00:34,420 So, Ctrl-A to Select All, 17 00:00:34,420 --> 00:00:36,920 then Ctrl-C to Copy, 18 00:00:36,920 --> 00:00:39,480 and let's navigate on over to Photoshop. 19 00:00:39,480 --> 00:00:42,620 So, let's go ahead and Ctrl-V to Paste the logo. 20 00:00:42,620 --> 00:00:44,640 Photoshop gives us a dialog box 21 00:00:44,640 --> 00:00:47,740 that asks how we want to paste in our vector shape. 22 00:00:47,740 --> 00:00:49,880 Since we want to be able to edit the paths, 23 00:00:49,880 --> 00:00:51,650 we'll paste it in as a shape layer. 24 00:00:51,650 --> 00:00:53,720 So I'm going to go ahead and scale the logo 25 00:00:53,720 --> 00:00:56,480 to my desired size, because if I resize 26 00:00:56,480 --> 00:00:58,220 the shape after pixel hinting, 27 00:00:58,220 --> 00:01:00,160 I'd need to do it all over again. 28 00:01:00,160 --> 00:01:03,460 We're going to make this logo white. 29 00:01:03,460 --> 00:01:05,900 [mouse clicking] 30 00:01:07,260 --> 00:01:09,040 Perfect. 31 00:01:09,040 --> 00:01:12,460 So, let's go ahead and zoom in a little bit closer here. 32 00:01:12,460 --> 00:01:14,780 If you notice, there is some unwanted 33 00:01:14,780 --> 00:01:16,390 anti-aliasing happening, 34 00:01:16,390 --> 00:01:18,670 especially around these horizontal lines here, 35 00:01:18,670 --> 00:01:20,390 and what that does, if we zoom back out, 36 00:01:20,390 --> 00:01:24,310 is it actually makes the logo appear a little bit blurry. 37 00:01:24,310 --> 00:01:26,580 This happens to a lot of vector shapes, because the paths 38 00:01:26,580 --> 00:01:29,560 are not completely taking up 1 whole pixel. 39 00:01:29,560 --> 00:01:31,240 They're taking up a little more or a little less. 40 00:01:31,240 --> 00:01:34,240 Sometimes, for it to appear perfect, we'll need to manually 41 00:01:34,240 --> 00:01:36,040 adjust the shapes. 42 00:01:36,040 --> 00:01:38,670 Now, in CS6, we'll need to head to Photoshop, 43 00:01:38,670 --> 00:01:40,760 Preferences, 44 00:01:40,760 --> 00:01:42,100 and General, 45 00:01:42,100 --> 00:01:44,890 and head on over to the very last check box here 46 00:01:44,890 --> 00:01:47,990 and uncheck Snap Vector Tools 47 00:01:47,990 --> 00:01:50,470 and Transforms to Pixel Grid. Press Okay. 48 00:01:50,470 --> 00:01:52,650 Turning this option off will let us manually 49 00:01:52,650 --> 00:01:55,570 adjust where the paths fit into Photoshop's pixel grid. 50 00:01:55,570 --> 00:01:58,880 You'll want to turn it back on if you're drawing shapes in Photoshop, later. 51 00:01:59,150 --> 00:02:02,910 So, let's go ahead and right-click and select the shape. 52 00:02:02,910 --> 00:02:06,550 So, we can see the paths that make up the vector shape, now. 53 00:02:06,550 --> 00:02:09,150 First let's go ahead and zoom in on 54 00:02:09,150 --> 00:02:11,270 the icon, here. 55 00:02:11,270 --> 00:02:13,130 As you can see, this part of the paper airplane 56 00:02:13,130 --> 00:02:15,400 is not a perfectly straight line, 57 00:02:15,400 --> 00:02:18,180 and because of this, it's causing some fuzziness in the logo. 58 00:02:18,180 --> 00:02:20,170 So, if we navigate over to the Toolbar, 59 00:02:20,170 --> 00:02:22,840 and select our Direct Selection tool, 60 00:02:22,840 --> 00:02:26,470 we can grab the anchors on our path, 61 00:02:26,470 --> 00:02:28,090 then we can use the Right arrow 62 00:02:28,090 --> 00:02:30,090 to nudge it to the right. 63 00:02:30,090 --> 00:02:32,340 We can see now that the line is beginning to appear 64 00:02:32,340 --> 00:02:36,470 sharper, and we'll do the same thing for this anchor. 65 00:02:36,470 --> 00:02:39,780 Now, let's move on down to this horizontal line, here. 66 00:02:39,780 --> 00:02:43,960 Click on the top-left and top-right anchors of this line, 67 00:02:43,960 --> 00:02:46,160 remembering to hold Shift, 68 00:02:46,160 --> 00:02:49,160 and let's go ahead and use the bottom arrow 69 00:02:49,160 --> 00:02:51,210 on our keyboard to nudge it down, 70 00:02:51,210 --> 00:02:53,180 and for the bottom-left and bottom-right anchors, 71 00:02:53,180 --> 00:02:55,310 we will nudge it up a bit. 72 00:02:55,310 --> 00:02:57,460 So, if we zoom out, we can see how much better 73 00:02:57,460 --> 00:03:00,210 our logo is beginning to look. 74 00:03:00,210 --> 00:03:02,350 So, moving down to the type, 75 00:03:02,350 --> 00:03:04,750 make sure to be careful--text should and will 76 00:03:04,750 --> 00:03:06,940 have anti-aliasing, especially around the curves 77 00:03:06,940 --> 00:03:09,070 where letters should appear smooth. 78 00:03:09,070 --> 00:03:11,250 So, only adjust the areas of the vector shape 79 00:03:11,250 --> 00:03:13,780 that should have a sharp, clean edge. 80 00:03:13,780 --> 00:03:15,850 We'll just fix the top and bottom of the letters 81 00:03:15,850 --> 00:03:18,180 and leave the rest alone. 82 00:03:18,180 --> 00:03:20,350 To move around the canvas when you're zoomed in this close, 83 00:03:20,350 --> 00:03:23,180 just hold down the Spacebar. 84 00:03:23,180 --> 00:03:30,490 [mouse clicking] 85 00:03:47,930 --> 00:03:50,270 So, if we zoom out back to 100%, 86 00:03:50,270 --> 00:03:53,290 we can see that our logo is very crisp and sharp. 87 00:03:53,290 --> 00:03:56,020 Pixel hinting and snapping your vector shapes 88 00:03:56,020 --> 00:03:58,870 to grid will result in a much cleaner, crisper design. 89 00:03:58,870 --> 00:04:01,550 Training your eye to be aware of the overall design 90 00:04:01,550 --> 00:04:03,000 down to each and every pixel 91 00:04:03,000 --> 00:04:05,840 is what will set a good designer apart from a great designer. 92 00:04:06,830 --> 00:04:09,930 If you'd like to see more advanced videos and tutorials 93 00:04:09,930 --> 00:04:12,810 like this one, go to TeamTreehouse.com, 94 00:04:12,810 --> 00:04:14,650 and start learning for free. 95 00:04:14,650 --> 00:04:16,010 [treehouseā„¢]