Monday, October 10, 2016
Gripping Pen Tool In Photoshop
Gripping Pen Tool In Photoshop
Gripping Pen Tool Photoshop
Where Do I Find The Pen Tool?
Before we start talking about what the Pen Tool is or how to use it, we should look at where to find it in Photoshop first.
Pen Tool
Why Is It Called The "Pen" Tool?
One of the first stumbling blocks to learning how to use the Pen Tool, as with many other things in Photoshop, is its name, since after all, if theres one thing that everyone whos ever tried to use it knows, this thing is not a pen. At least, not the sort of pen youd normally think of when you hear the word "pen". Try writing your name with it in the same way you might sign your name on a piece of paper with a pen and youll probably end up with a twisted, tangled mess and things looping all over each other (of course, I suppose that could very well be how you sign your name).
So if it doesnt act like a traditional ink pen, why is it called the Pen Tool? The Pen Tool has actually been called several things over the years, and by that, I dont mean the sort of things you may have called it in moments of frustration. You may have heard it referred to as the Bezier Pen or the Bezier Tool, and thats because it was created by a man named Pierre Bezier (thats him on the left), a French engineer and all-around smart guy who came up with the fancy math that powers the tool while working for the Renault car company (the Pen Tool was originally created to help design cars).
You may also have heard the Pen Tool referred to as the Paths Tool, and thats really the most appropriate name for it. The Pen Tool is all about drawing "paths". To make selections with the Pen Tool, we simply convert the path or paths weve drawn into selections. It always begins, though, with a path.
What Is A Path?
A "path" is, quite honestly, something that may seem a little out of place inside a program like Photoshop. The reason is because Photoshop is primarily a pixel-based program. It takes the millions of tiny square pixels that make up a typical digital image and does things with them. Paths, on the other hand, have absolutely nothing to do with pixels, which is why I said they may seem out of place in a program thats used mainly for editing and drawing pixels.
A path is really nothing more than a line that goes from one point to another, a line that is completely independent of and cares nothing about the pixels underneath it. The line may be straight or it may be curved, but it always goes from one point to another point, and as I mentioned, it has nothing at all to do with the pixels in the image. A path is completely separate from the image itself. In fact, a path is so separate that if you tried to print your image with a path visible on your screen, the path would not appear on the paper. Also, if you saved your image as a JPEG file and uploaded it to a website, even if you saved the image with the path visible on your screen in Photoshop, you wont see it in the image on the website. Paths are for your eyes and Photoshop only.
No one else will ever see them, unless they happen to walk past your computer while youre working.
We always need a minimum of two points to create a path, since we need to know where the path starts and where it ends. If we use enough points that we can bring our path back to the same point it started from, we can create different shapes out of paths, which is exactly how Photoshops various Shape Tools work. The Rectangle Tool uses paths, connected by points, to draw a rectangular shape. The Ellipse Tool uses paths, connected by points, to draw an elliptical shape, and so on. Its also how Photoshops Type Tool works, although Photoshop handles type a bit differently than it handles regular shapes, but all type in Photoshop is essentially made from paths. In fact, you can convert type into shapes, which then gives you all of the same path editing options with type that you get when working with shapes.
You may also have heard paths referred to as outlines, and thats a pretty good description of what a path is, or at least, what a path can be. We can draw a square path, and if we do nothing else with it, as in we dont fill it with a color or apply a stroke to it, then all we have is a basic outline of a square. Same with a circle or any other shape we draw. The path itself is just the outline of the shape. Its not until we do something with the path, like fill it, apply a stroke, or convert it into a selection, that the path actually becomes something more than a basic outline.
You can select an entire path using the Path Selection Tool (also known as the "black arrow" tool), or you can select individual points or path segments using the Direct Selection Tool (the "white arrow" tool). A path "segment", or "line segment" as its sometimes called, is any path between two points. A rectangular path, for example, would be made up of four points (one in each corner), and the individual paths connecting the points together along the top, bottom, left, and right to create the shape of the rectangle are the path segments. The actual path itself is the combination of all of the individual path segments that make up the shape.
That can be a little confusing, so lets see what I mean. Open a new document inside Photoshop. It doesnt matter what size it is. Ill choose the 640x480 size from the list of presets, but as I said, it doesnt matter what size you choose. Select your Pen Tool from the Tools palette. You can also select the Pen Tool simply by pressing the letter P on your keyboard.
The Two Pen Tool Modes
Now, before we continue, we first need to make sure were working with paths, and thats because the Pen Tool actually has two different modes it can work in, and by default, it uses the other one. With the Pen Tool selected, if we look up in the Options Bar at the top of the screen, well see a group of three icons:
I know I said theres two modes the Pen Tool can work in and yet, as if to make things more confusing, theres three icons, but the icon on the right, which is the Fill pixels icon, is grayed out and not available when working with the Pen Tool. Its only available when working with the various Shape Tools, so theres really only two icons we need to look at.
The icon on the left is the Shape layers icon, also known as "not the one we want", and its the one thats selected by default. If we were to work with the Pen Tool with that icon selected, wed be drawing shapes, just as if we were using any of the various Shape Tools, except that instead of drawing a predefined shape like a rectangle or an ellipse, we could draw any shape we wanted. As I said though, thats not what we want. We want the icon beside it, the Paths icon, so go ahead and click on it to select it:
With the Pen Tool selected and the Paths icon selected in the Options Bar, click once anywhere inside your document. Dont click and drag, just click. When you do, youll add a small square point. Ive enlarged it here:
This first point weve just added is the starting point of our path. Now at the moment, we dont actually have a path. All we have is a starting point. The "point" is technically called an anchor or anchor point, and its named that because it anchors the path into place. This first point will anchor the beginning of the path to this spot inside the document. As we add more points, each of them will anchor the path into place at that location.
Lets add another point. Click somewhere else inside the document. Anywhere will do. Im going to click somewhere to the right of my initial point:
Ive now added a second anchor point, and look whats happened. I now have a straight line joining the two points together! That straight line is my path. As I mentioned earlier, we need a minimum of two points to create a path, since we need to know where the path starts and where it ends, and now that we have both a starting and an end point, Photoshop was able to connect the two points together, creating our path.
Lets add a few more points just for fun. Click a few more times at different spots inside the document. Again, dont click and drag, just click:
In the image above, Ive added seven more anchor points by clicking at different spots with the Pen Tool, and each time I added one, the length of my path increased because a new path "segment" was added between the previous point and the new point. My path now consists of nine anchor points and eight path segments. I could continue clicking around inside the document to add more anchor points and path segments, but what Id really like to do now is close my path so it forms a complete shape.
Closing A Path
To close a path, all we need to do is click once again on our initial starting point. When you hover your mouse cursor over the starting point, youll see a small circle appear in the bottom right corner of the pen icon:
That circle tells us that were about to come "full circle" with our path, finishing it off where it began. To close it, simply click directly on the starting point. We can see below that my path has become a closed path and is now a basic outline of a shape:
Even though this path was drawn just for fun as an example of how to draw a basic path with the Pen Tool , I can easily turn this path into a selection. For that, we need Photoshops Paths palette, and well look at that next.
Youll find the Pen Tool in the Tools palette, grouped in with the Shape Tools, the Type Tool, and the Path Selection (the white arrow) and Direct Selection (the black arrow) Tools (see the image on the left).
Of course, this may raise the question of why, if we can make selections with the Pen Tool, is it not grouped in with the other selection tools (the Rectangular Marquee Tool, the Elliptical Marquee Tool, the Lasso Tool, etc.) at the top of the Tools palette? Why is it down there with those other tools which are clearly not selection tools?
Thats an excellent question, and there just happens to be an equally excellent answer to go with it, which well get to in a moment.
Turning A Path Into A Selection
So far, weve looked at what a path is and how to draw a basic path with Photoshops Pen Tool. But how do you go about making a selection from the path?
Easy! Theres a couple of ways to turn a path into a selection, including a handy keyboard shortcut, but before we look at the quick way, lets look at the official way. The "official way" involves using Photoshops Paths palette, which youll find grouped in with the Layers palette and the Channels palette:
At first glance, the Paths palette looks very similar to Photoshops Layers palette, and Adobe purposely made it like that so youll feel more comfortable using it. We can see a thumbnail preview of the shape of the path we just created, and by default, Photoshop names the path "Work Path", which is basically a fancy way of saying "temporary", as in if you were to create a different path now without renaming this path to something else first, this one would be replaced by the new path. You can only have one "Work Path", so if you want to keep it, youll need to double-click on its name in the Paths palette and name it something else before creating a new path.
Since my path looks a bit like a crown, Im going to double-click on the name "Work Path", which with bring up Photoshops Save Path dialog box, and Im going to rename my path "Crown":
Ill click OK when Im done, and now if I look in my Paths palette again, I can see that sure enough, my "Work Path" has been renamed "Crown":
By renaming it, the path is now saved and wont disappear on me if I go to create a new path. Also, any saved paths are saved with the Photoshop document, so now, if I save my document, the path will be saved with it and the next time I open the document, the path will still be there in the Paths palette.
Saving a path is not something you need to do in order to turn it into a selection. In most cases when using the Pen Tool to make selections, you wont have any need for the path once youve made a selection from it, so there wont be any need to save it. If you did want to save it though, just rename it to something other than "Work Path" and its saved.
To turn the path into a selection, if we look at the bottom of the Paths palette, we can see several icons. These icons allow us to do different things with our path. The first icon on the left is the Fill path with Foreground color icon, and as its name implies, clicking on it will fill our path with our current Foreground color. Interesting, but thats not what we want. The second icon from the left is theStroke path with brush icon, which will apply a stroke to our path using whatever brush we currently have selected. This is a great way to create interesting effects in Photoshop, but for what were doing here, turning a path into a selection, its not what we want either. The one we want is the third icon from the left, the Load path as a selection icon:
As soon as I click on this icon, my path inside my document becomes a selection, as if I had created it using any of Photoshops more common selection tools:
Its that easy! In fact, its even easier than that because theres a keyboard shortcut for turning a path into a selection without having to switch to the Paths palette at all. When youve drawn your path and youre ready to turn it into a selection, simply press Ctrl+Enter(Win) / Command+Return (Mac) to have Photoshop convert the path into a selection.
By now, it may be a little more obvious to you why, even though the Pen Tool is very much a selection tool, its not grouped in with the other selection tools at the top of the Tools palette. The reason is because the Pen Tool is primarily a path tool. It creates selections by first creating paths, and for that reason, it has more in common with the various Shape Tools and the Type Tool, all of which use paths , than it has with the basic selection tools like the Rectangular Marquee Tool or the Lasso Tool, which make selections based only on pixels.
Lets look at a practical example of what weve learned so far. Here we have a photo of a stop sign in
When it comes to making selections in Photoshop, theres really two types of people - those who know how to use the Pen Tool, and those who struggle.
Most people put off learning how to use the Pen Tool for as long as possible, while others never get around to learning it, believing its just too confusing, too complicated, and just plain unnatural. Ultimately, their work in Photoshop suffers for it, since theyre stuck relying on the Lasso Tool for just about everything they cant select with the Rectangular or Elliptical Marquee Tools. In this Adobe Photoshop tutorial, were going to put an end to the suffering. Were going to learn just how easy it really is to make selections with the Pen Tool.
Now, when I say "easy", I dont mean youre going to read this tutorial and be instantly transformed into a Pen Master. Learning how to use the Pen Tool is a lot like learning how to ride a bike. Once youve learned, it will seem completely natural and youll wonder how anyone could possibly not know how to use something so simple. But getting to that point requires a little practice and effort, and while reading every book there is on how to ride a bike may teach you the fundamentals of how the pedals, gears and brakes work, its not until youre on the bike struggling to keep your balance that the real learning begins.
One of the great things about the Pen Tool is that its not something thats exclusive to Photoshop. Far from it! Virtually every popular photo editing, graphics and page layout program uses the Pen Tool in one form or another , so once youve learned how to use it in Photoshop, youll already have a good understanding of how to use it in lots of other programs as well!
Where Do I Find The Pen Tool?
Before we start talking about what the Pen Tool is or how to use it, we should look at where to find it in Photoshop first.
Photoshops
Pen Tool
Why Is It Called The "Pen" Tool?
One of the first stumbling blocks to learning how to use the Pen Tool, as with many other things in Photoshop, is its name, since after all, if theres one thing that everyone whos ever tried to use it knows, this thing is not a pen. At least, not the sort of pen youd normally think of when you hear the word "pen". Try writing your name with it in the same way you might sign your name on a piece of paper with a pen and youll probably end up with a twisted, tangled mess and things looping all over each other (of course, I suppose that could very well be how you sign your name).
Pierre Bezier
So if it doesnt act like a traditional ink pen, why is it called the Pen Tool? The Pen Tool has actually been called several things over the years, and by that, I dont mean the sort of things you may have called it in moments of frustration. You may have heard it referred to as the Bezier Pen or the Bezier Tool, and thats because it was created by a man named Pierre Bezier (thats him on the left), a French engineer and all-around smart guy who came up with the fancy math that powers the tool while working for the Renault car company (the Pen Tool was originally created to help design cars).
You may also have heard the Pen Tool referred to as the Paths Tool, and thats really the most appropriate name for it. The Pen Tool is all about drawing "paths". To make selections with the Pen Tool, we simply convert the path or paths weve drawn into selections. It always begins, though, with a path.
What Is A Path?
A "path" is, quite honestly, something that may seem a little out of place inside a program like Photoshop. The reason is because Photoshop is primarily a pixel-based program. It takes the millions of tiny square pixels that make up a typical digital image and does things with them. Paths, on the other hand, have absolutely nothing to do with pixels, which is why I said they may seem out of place in a program thats used mainly for editing and drawing pixels.
A path is really nothing more than a line that goes from one point to another, a line that is completely independent of and cares nothing about the pixels underneath it. The line may be straight or it may be curved, but it always goes from one point to another point, and as I mentioned, it has nothing at all to do with the pixels in the image. A path is completely separate from the image itself. In fact, a path is so separate that if you tried to print your image with a path visible on your screen, the path would not appear on the paper. Also, if you saved your image as a JPEG file and uploaded it to a website, even if you saved the image with the path visible on your screen in Photoshop, you wont see it in the image on the website. Paths are for your eyes and Photoshop only.
No one else will ever see them, unless they happen to walk past your computer while youre working.
We always need a minimum of two points to create a path, since we need to know where the path starts and where it ends. If we use enough points that we can bring our path back to the same point it started from, we can create different shapes out of paths, which is exactly how Photoshops various Shape Tools work. The Rectangle Tool uses paths, connected by points, to draw a rectangular shape. The Ellipse Tool uses paths, connected by points, to draw an elliptical shape, and so on. Its also how Photoshops Type Tool works, although Photoshop handles type a bit differently than it handles regular shapes, but all type in Photoshop is essentially made from paths. In fact, you can convert type into shapes, which then gives you all of the same path editing options with type that you get when working with shapes.
You may also have heard paths referred to as outlines, and thats a pretty good description of what a path is, or at least, what a path can be. We can draw a square path, and if we do nothing else with it, as in we dont fill it with a color or apply a stroke to it, then all we have is a basic outline of a square. Same with a circle or any other shape we draw. The path itself is just the outline of the shape. Its not until we do something with the path, like fill it, apply a stroke, or convert it into a selection, that the path actually becomes something more than a basic outline.
You can select an entire path using the Path Selection Tool (also known as the "black arrow" tool), or you can select individual points or path segments using the Direct Selection Tool (the "white arrow" tool). A path "segment", or "line segment" as its sometimes called, is any path between two points. A rectangular path, for example, would be made up of four points (one in each corner), and the individual paths connecting the points together along the top, bottom, left, and right to create the shape of the rectangle are the path segments. The actual path itself is the combination of all of the individual path segments that make up the shape.
That can be a little confusing, so lets see what I mean. Open a new document inside Photoshop. It doesnt matter what size it is. Ill choose the 640x480 size from the list of presets, but as I said, it doesnt matter what size you choose. Select your Pen Tool from the Tools palette. You can also select the Pen Tool simply by pressing the letter P on your keyboard.
The Two Pen Tool Modes
Now, before we continue, we first need to make sure were working with paths, and thats because the Pen Tool actually has two different modes it can work in, and by default, it uses the other one. With the Pen Tool selected, if we look up in the Options Bar at the top of the screen, well see a group of three icons:
The Options Bar in Photoshop showing the group of three icons representing each of the three Pen Tool modes.
I know I said theres two modes the Pen Tool can work in and yet, as if to make things more confusing, theres three icons, but the icon on the right, which is the Fill pixels icon, is grayed out and not available when working with the Pen Tool. Its only available when working with the various Shape Tools, so theres really only two icons we need to look at.
The icon on the left is the Shape layers icon, also known as "not the one we want", and its the one thats selected by default. If we were to work with the Pen Tool with that icon selected, wed be drawing shapes, just as if we were using any of the various Shape Tools, except that instead of drawing a predefined shape like a rectangle or an ellipse, we could draw any shape we wanted. As I said though, thats not what we want. We want the icon beside it, the Paths icon, so go ahead and click on it to select it:
Photoshop Tutorials: Click on the "Paths" icon in the Options Bar to work with paths with the Pen Tool.
With the Pen Tool selected and the Paths icon selected in the Options Bar, click once anywhere inside your document. Dont click and drag, just click. When you do, youll add a small square point. Ive enlarged it here:
Click once inside the document with the Pen Tool to add a point.
This first point weve just added is the starting point of our path. Now at the moment, we dont actually have a path. All we have is a starting point. The "point" is technically called an anchor or anchor point, and its named that because it anchors the path into place. This first point will anchor the beginning of the path to this spot inside the document. As we add more points, each of them will anchor the path into place at that location.
Lets add another point. Click somewhere else inside the document. Anywhere will do. Im going to click somewhere to the right of my initial point:
Photoshop Tutorials: Add a second anchor point by clicking somewhere else inside the document.
Ive now added a second anchor point, and look whats happened. I now have a straight line joining the two points together! That straight line is my path. As I mentioned earlier, we need a minimum of two points to create a path, since we need to know where the path starts and where it ends, and now that we have both a starting and an end point, Photoshop was able to connect the two points together, creating our path.
Lets add a few more points just for fun. Click a few more times at different spots inside the document. Again, dont click and drag, just click:
Add additional points by clicking at different spots inside the document.
In the image above, Ive added seven more anchor points by clicking at different spots with the Pen Tool, and each time I added one, the length of my path increased because a new path "segment" was added between the previous point and the new point. My path now consists of nine anchor points and eight path segments. I could continue clicking around inside the document to add more anchor points and path segments, but what Id really like to do now is close my path so it forms a complete shape.
Closing A Path
To close a path, all we need to do is click once again on our initial starting point. When you hover your mouse cursor over the starting point, youll see a small circle appear in the bottom right corner of the pen icon:
A small circle appears in the bottom right corner of the pen icon when hovering the cursor over the initial starting point of the path.
That circle tells us that were about to come "full circle" with our path, finishing it off where it began. To close it, simply click directly on the starting point. We can see below that my path has become a closed path and is now a basic outline of a shape:
The path is now closed, finishing at the starting point, creating a closed path.
Even though this path was drawn just for fun as an example of how to draw a basic path with the Pen Tool , I can easily turn this path into a selection. For that, we need Photoshops Paths palette, and well look at that next.
Youll find the Pen Tool in the Tools palette, grouped in with the Shape Tools, the Type Tool, and the Path Selection (the white arrow) and Direct Selection (the black arrow) Tools (see the image on the left).
Of course, this may raise the question of why, if we can make selections with the Pen Tool, is it not grouped in with the other selection tools (the Rectangular Marquee Tool, the Elliptical Marquee Tool, the Lasso Tool, etc.) at the top of the Tools palette? Why is it down there with those other tools which are clearly not selection tools?
Thats an excellent question, and there just happens to be an equally excellent answer to go with it, which well get to in a moment.
Turning A Path Into A Selection
So far, weve looked at what a path is and how to draw a basic path with Photoshops Pen Tool. But how do you go about making a selection from the path?
Easy! Theres a couple of ways to turn a path into a selection, including a handy keyboard shortcut, but before we look at the quick way, lets look at the official way. The "official way" involves using Photoshops Paths palette, which youll find grouped in with the Layers palette and the Channels palette:
Photoshops Paths Palette.
At first glance, the Paths palette looks very similar to Photoshops Layers palette, and Adobe purposely made it like that so youll feel more comfortable using it. We can see a thumbnail preview of the shape of the path we just created, and by default, Photoshop names the path "Work Path", which is basically a fancy way of saying "temporary", as in if you were to create a different path now without renaming this path to something else first, this one would be replaced by the new path. You can only have one "Work Path", so if you want to keep it, youll need to double-click on its name in the Paths palette and name it something else before creating a new path.
Since my path looks a bit like a crown, Im going to double-click on the name "Work Path", which with bring up Photoshops Save Path dialog box, and Im going to rename my path "Crown":
You can save a temporary "Work Path" simply by renaming it.
Ill click OK when Im done, and now if I look in my Paths palette again, I can see that sure enough, my "Work Path" has been renamed "Crown":
The Paths palette showing that the path has been renamed "Crown".
By renaming it, the path is now saved and wont disappear on me if I go to create a new path. Also, any saved paths are saved with the Photoshop document, so now, if I save my document, the path will be saved with it and the next time I open the document, the path will still be there in the Paths palette.
Saving a path is not something you need to do in order to turn it into a selection. In most cases when using the Pen Tool to make selections, you wont have any need for the path once youve made a selection from it, so there wont be any need to save it. If you did want to save it though, just rename it to something other than "Work Path" and its saved.
To turn the path into a selection, if we look at the bottom of the Paths palette, we can see several icons. These icons allow us to do different things with our path. The first icon on the left is the Fill path with Foreground color icon, and as its name implies, clicking on it will fill our path with our current Foreground color. Interesting, but thats not what we want. The second icon from the left is theStroke path with brush icon, which will apply a stroke to our path using whatever brush we currently have selected. This is a great way to create interesting effects in Photoshop, but for what were doing here, turning a path into a selection, its not what we want either. The one we want is the third icon from the left, the Load path as a selection icon:
The "Load path as a selection" icon at the bottom of the Paths palette.
As soon as I click on this icon, my path inside my document becomes a selection, as if I had created it using any of Photoshops more common selection tools:
The path has now been converted into a selection.
Its that easy! In fact, its even easier than that because theres a keyboard shortcut for turning a path into a selection without having to switch to the Paths palette at all. When youve drawn your path and youre ready to turn it into a selection, simply press Ctrl+Enter(Win) / Command+Return (Mac) to have Photoshop convert the path into a selection.
By now, it may be a little more obvious to you why, even though the Pen Tool is very much a selection tool, its not grouped in with the other selection tools at the top of the Tools palette. The reason is because the Pen Tool is primarily a path tool. It creates selections by first creating paths, and for that reason, it has more in common with the various Shape Tools and the Type Tool, all of which use paths , than it has with the basic selection tools like the Rectangular Marquee Tool or the Lasso Tool, which make selections based only on pixels.
Lets look at a practical example of what weve learned so far. Here we have a photo of a stop sign in
Available link for download