Download Article
Download Article
You can use the Paths tool in GIMP to create straight or curved lines, shapes, and complex selections by connecting multiple points along a Bezier curve. If you're used to the pen tool in apps like Photoshop, Illustrator, and Inkscape, you'll feel right at home with the Paths tool. If you're brand new to GIMP and haven't used the pen tool in another illustration app, don't worry—we'll help you get started! This wikiHow guide will teach you how to start using the Paths tool in GIMP to draw and trace around objects.
Steps
-
Open an image in GIMP. The Paths tool is helpful for drawing a precise selection around an object, such as the subject on an image from which you'd like to remove the background. You can also use the tool to create shapes and illustrations. Start by opening your image (or creating a new drawing) in GIMP.
-
Press B to start the Paths tool. You can also launch the tool by clicking the Paths tool icon on the toolbar (it's the dotted line and pen next to the text tool) or by clicking the Tools menu and selecting Paths . [3] X Research source
- When you start the Paths tool, the Paths panel will appear in the left panel. You'll see that there are three modes—Design, Edit, and Move. The Paths tool always starts in Design mode.
Advertisement -
Click anywhere on the image or canvas to place your first point. If you want to select an object, click somewhere along the edge of the object you want to select. If you're drawing, click the place where you'd like your first line or curve to begin. [4] X Research source
- Each point you place will be joined to the next point by a segment, or line. The lines between points can be straight or curved.
- If you're selecting an object, your goal is to place points around the entire perimeter of the object to surround it with line segments.
-
Click another location to add a second point. Once you create your second point, you'll see that it's now connected to the first point by a segment. [5] X Research source
-
Click and drag to create a curved segment instead of a straight one. If you need the next segment to curve, you can easily curve the line in any direction. Move the mouse to the location where you'd like to place the next point, and then click and drag the cursor left (to curve the line right) or right (to curve the line left). [6] X Research source
- You can drag the curve in any direction you'd like to properly wrap around an object or create a line that curves in the desired direction. The curve will always in the opposite direction that you drag.
- When you release the mouse button, you'll have a new point with a yellow directional line indicating the direction of the curve. At each end of the directional line, you'll see squares—these squares are called handles.
- You can move each of the handles to precisely shape the curve. [7] X Research source You can also hold down the Shift key as you drag a handle to move the curve symmetrically.
-
Continue clicking points until you've come close to the original point. Place additional points until you've drawn your shape or surrounded the object you want to select.
- Depending on the shape you're drawing or the complexity of the object you're selecting, you may need to create more or fewer points to select the object accurately.
- You can undo a point you've placed by mistake by pressing Ctrl + Z (PC) or Command + Z (Mac). [8] X Research source
- While you're adding points, you'll see a small + at the cursor's top-right corner. This + changes as you do other things with your path, which we'll get to in a moment.
-
Press Ctrl as you click the starting point to close the path. This creates the final segment and closes the path.
-
Create a selection from the path. If you want to work with the path as a selection—such as if you want to extract, copy, adjust , or recolor the selected area independently of the rest of the image, you'll want to turn the path into a selection. Just click Selection from Path in the Paths toolbar on the left to do so. [9] X Research source
- You can now adjust the selection using the options in the Select menu.
-
Turn the path into a solid line (if you're drawing). If your goal is to create an illustration with the Paths tool, you can use the Stroke Path button in the left panel to customize the line that surrounds your path:
- Click Stroke Path to open the dialog box. [10] X Research source
- To use a standard customizable line, select Stroke line , then enter a line width. You can click the Line Style menu to choose other options, including a dashed pattern.
- To use a paint tool for your line, such as the pencil or paintbrush, select Stroke with a paint tool , then choose your tool. The Stroke Path tool will use the current size and shape of the tool you select, so you might want to close the window and choose your preferences before applying the stroke line.
- If you check the box next to "Emulate brush dynamics," the line will have a more realistic look—this is useful if you're creating a lifelike drawing. [11] X Research source
- Click Stroke to create your line.
Advertisement
-
Move a point. In Design mode, you can click and drag any point to move it. To move multiple points at once, hold down the Shift key as you click each point, then drag any point to move them all.
- If you switch to Edit mode, dragging a point will curve the previous segment instead.
- Both Design and Edit modes allow you to make the most changes to the path, but each of these two modes have different features. The most notable difference is that in Edit mode, you can only work on the existing path—if you want to make changes to multiple paths at once, you should be in Design mode. [12] X Research source
-
Add a new point. If you need to add another point, you can do so in both Edit and Design modes by holding down Ctrl as you click anywhere on a segment. [13] X Research source
-
Curve a line segment. If you need to curve any segment between two points after completing the path, it's easy to do in Design mode. Hover the mouse cursor over the segment until the small square next to the cursor turns into a crosshair with arrows, then click and drag the segment in the desired direction. [14] X Research source
- If you hold down the Shift key while you do this, you'll create a symmetrical curve.
-
Adjust a curve. If you want to change the direction of a curve, you can do so by dragging the handles from any of its points in the desired direction. This works the same in Design and Edit modes. [15] X Research source
- Click a point to display its handles.
- Drag either of the handles in the desired position. Hold down Shift to curve symmetrically.
- If you want to remove a handle, you can do so by holding down Shift + Ctrl as you click the handle.
-
Delete a segment. You can only delete a segment in Edit mode, so click Edit in the Paths toolbar. Then, hold down Shift and hover your mouse over the segment you want to delete. When you see a minus sign near the cursor, click to delete the segment. [16] X Research source
-
Delete a point. If you have too many points, deleting points is easy.
- In Design mode, select the point, then press Shift + Ctrl as you click the point.
- In Edit mode, select the point, then press Shift as you click the point.
-
Move one or more points. Repositioning a point is easy—you'll just need to be in Design mode to do it. Just click and drag a point to move it. [17] X Research source
- To move several points at once, hold down the Shift key as you click each point, then click and drag the selection.
-
Move the entire path. If you've been wondering about Move mode, now you can try it out. Select Move mode, then click and drag anywhere on the path to move the selection.
-
Fill the path with a color or pattern. The Fill Path button in the left toolbar provides you with options for filling the path. [18] X Research source
- To fill with a color, start by selecting a color—just click the top-left colored square in the left panel above the Paths panel, then choose a color. Next, click File Path in the left panel, select Solid color , then click Fill .
- To fill with a pattern, click the Patterns tab in the upper-right area of GIMP—it's the second tab in the right panel. Select a pattern to use, then click the Fill Path button in the left panel. Choose Pattern , then click Fill .
Advertisement
Community Q&A
Search
-
QuestionWhat are some of the uses of the pen tool in GIMP?Community AnswerYou can use it to make vector art and graphics, make custom selections that are easier to change and manipulate (as selections aren't set in stone), draw straight lines, etc. It's like a Swiss army knife; it's rare that you don't find some use for it while you're working on a project.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
- If you just want to draw a single straight line, you can use any of the brush tools, including paintbrush, pencil, and airbrush. [19] X Research source Select your preferred brush tool and options, move the mouse cursor to the place you want your line to begin, then press and hold the Shift key. Continue holding Shift as you move the mouse to the desired position of the line, then click to place the line.Thanks
- While it may be tempting to place a large amount of points on your path, try to use as few points as possible. Too many points can lead to jagged lines. You can always reposition points and curve your segments to better fit the object later.Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
References
- ↑ https://docs.gimp.org/en/gimp-using-fileformats-opening.html
- ↑ https://docs.gimp.org/2.2/en/gimp-using-fileformats-creating.html
- ↑ https://docs.gimp.org/2.10/en/gimp-tool-path.html
- ↑ https://docs.gimp.org/2.10/en/gimp-using-paths.html
- ↑ https://docs.gimp.org/2.10/en/gimp-using-paths.html
- ↑ https://docs.gimp.org/2.10/en/gimp-using-paths.html
- ↑ https://www.linuxtopia.org/online_books/graphics_tools/gimp_advanced_guide/gimp_guide_node36_004.html
- ↑ https://docs.gimp.org/2.10/en/gimp-edit-undo.html
- ↑ https://docs.gimp.org/en/gimp-path-selection-replace.html
- ↑ https://docs.gimp.org/2.10/en/gimp-path-stroke.html
- ↑ https://docs.gimp.org/2.10/en/gimp-tool-dynamics.html
- ↑ https://docs.gimp.org/en/gimp-using-paths.html
- ↑ https://docs.gimp.org/2.10/en/gimp-using-paths.html
- ↑ https://docs.gimp.org/2.6/en/gimp-tool-path.html
- ↑ https://docs.gimp.org/2.6/en/gimp-tool-path.html
- ↑ https://docs.gimp.org/2.10/en/gimp-tool-path.html
- ↑ https://docs.gimp.org/2.10/en/gimp-tool-path.html
- ↑ https://docs.gimp.org/en/gimp-path-fill.html
- ↑ https://www.gimp.org/tutorials/Straight_Line/
About This Article
Thanks to all authors for creating a page that has been read 77,921 times.
Advertisement