Posts: 939
Threads: 93
Joined: Oct 2016
Reputation:
36
Operating system(s):
- Windows (Vista and later)
Gimp version: 2.10
01-22-2018, 08:08 PM
(This post was last modified: 01-22-2018, 08:13 PM by Espermaschine.)
You will get the best possible quality result by drawing a path and then stroking the path. Even with very thin, or curved lines.
Its possible to use a filter like Generic -> Dilate or G'MIC Morphological, but stroking a path is what i would strongly recommend !
Posts: 28
Threads: 12
Joined: Dec 2017
Reputation:
0
Operating system(s):
- Windows (Vista and later)
@Espermaschine
How would you make lines thinner by stroking path? You would reduce selection then and hit "Del" key or you would do the opposite of "Grow" (if that's possible) and then reduce selection by a few pixels from edges, do invert selection and hit "Del" key?
Posts: 939
Threads: 93
Joined: Oct 2016
Reputation:
36
Operating system(s):
- Windows (Vista and later)
Gimp version: 2.10
01-23-2018, 02:28 PM
(This post was last modified: 01-23-2018, 02:29 PM by Espermaschine.)
Yeah, thats a misunderstanding. You dont make the existing lines thinner by stroking a path.
Some beginners seem to think its a good idea to dabble around with Gimp and then fix what they have done.
Thats not a very efficient approach.
You learn the tools and build your designs with the possibilitis you have.
In this case the best way of making lines is stroking a path.
In some cases you can use the Brush/Pencil Tool with Shift (to make a line) and CTRL (to restrict angle), but its not as flexible or editable like paths.
Posts: 11
Threads: 0
Joined: Jan 2018
Reputation:
0
Operating system(s):
- Windows (Vista and later)
- Linux
OTOH, if you "really" had to thin some thick lines, it might be done by subtracting one selection from another.
Let's say you have a drawing with 5px-wide lines. Select the outside edge of the figure, shrink it by 3 px, and save the selection to a path, say, "Minus3." Do the same with a path shrunk only 2px, saved to "Minus2."
On the Paths tab, right-click on the Minus2 path and choose Path-to-Selection. Then right-click Minus3 and "Subtract from Selection", leaving, theoretically at least, a 1 px interior. Invert the selection and hit delete key to get rid of the unselected fat parts.
(I like to start from outside and shrink, rather than inside and grow, because the former tends to preserve detail, while the latter doesn't know what to do at sharp corners, so rounds them.)