Post Reply 

Stroke Path tool not working

Jun 21, 2011, 17:58
Post: #1
Stroke Path tool not working
Hi, I'm very new to GIMP, and I just want to draw one simple line, but there is obviously no simple way of doing this. I found some directions on another website's forum that were supposed to work, but they didn't. Here are the instructions that I followed:

Quote:Simply press 'b' for the bezier select tool, and click where you want a line to begin, and click again where you want the line to end.
Now, you can move the line around until you get it perfect by clicking on the dot on either end and dragging it with the mouse.
Isn't that neat! Big Grin
You can even click on the middle of the line and bend it! Try it! Big Grin
You can draw any shape with it.

If you make a mess, just press ctrl + z and undo your last changes. The GIMP remembers a very long list of changes, so you can go backwards step by step.

When you are happy with your line, or lines. just click 'Edit' --> 'Stroke path'.
A box will open to allow you top choose settings for exactly how you want your line stroked. You can just leave it the way it is, or you can make GIMP do almost anything with your line. GIMP will remember your previous settings too, and offer you the same settings for the next line.

When the box mentioned above pops up, I choose my desired settings and hit the "Stroke" button, absolutely nothing happens. No matter how thick I tell it to make the line, no line ever appears.

What am I doing wrong?
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 18:42
Post: #2
RE: Stroke Path tool not working
Gimp will use the color that is set as the current foreground color for the stroke. If you have a white background and your foreground color is set to white, you have discovered invisible ink!

Just for a test, start up Gimp and then click on the little black and white boxes next to the foreground and background color. This will reset your foreground color to black and your background color to white. Next click on File > New and create a new image of some convenient size (I like 800x600 but anything will work). By default Gimp fills the new image with the background color, so you should now have a completely white image. Create a path as you described above and then stroke it. About 5 or 6 pixels in width should be plenty. If everything worked right you should now have a black line on the white background. If it doesn't work, save your image as an XCF file and post it here.

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 18:59
Post: #3
RE: Stroke Path tool not working
ive sometimes had the same problem, try selecting stroke with paint tool, and just make sure the brush is whatchya want (preferably the circle, for just a simple line), though viragos invisible ink might just be the problem.

[Image: MMSSig-2.png]
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 19:01
Post: #4
RE: Stroke Path tool not working
(Jun 21, 2011 18:42)Virago Wrote:  Gimp will use the color that is set as the current foreground color for the stroke. If you have a white background and your foreground color is set to white, you have discovered invisible ink!

Just for a test, start up Gimp and then click on the little black and white boxes next to the foreground and background color. This will reset your foreground color to black and your background color to white. Next click on File > New and create a new image of some convenient size (I like 800x600 but anything will work). By default Gimp fills the new image with the background color, so you should now have a completely white image. Create a path as you described above and then stroke it. About 5 or 6 pixels in width should be plenty. If everything worked right you should now have a black line on the white background. If it doesn't work, save your image as an XCF file and post it here.


This is supposed to be a 50px line zoomed in at 3200%.


Attached File(s)
.xcf  Stroke Path.xcf (Size: 230.92 KB / Downloads: 90)
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 19:02
Post: #5
RE: Stroke Path tool not working
(Jun 21, 2011 19:01)BuddySutter Wrote:  
(Jun 21, 2011 18:42)Virago Wrote:  Gimp will use the color that is set as the current foreground color for the stroke. If you have a white background and your foreground color is set to white, you have discovered invisible ink!

Just for a test, start up Gimp and then click on the little black and white boxes next to the foreground and background color. This will reset your foreground color to black and your background color to white. Next click on File > New and create a new image of some convenient size (I like 800x600 but anything will work). By default Gimp fills the new image with the background color, so you should now have a completely white image. Create a path as you described above and then stroke it. About 5 or 6 pixels in width should be plenty. If everything worked right you should now have a black line on the white background. If it doesn't work, save your image as an XCF file and post it here.


This is supposed to be a 50px line zoomed in at 3200%.

I forgot to say: The test file worked fine. That attachment was the actual file I am trying to edit.
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 19:16 (This post was last modified: Jun 21, 2011 19:16 by ofnuts.)
Post: #6
RE: Stroke Path tool not working
Stroking the path won't do anything if you have any kind of selection active and it doesn't include the path. Do Select/None before stroking the path, and make sure your layer is active (you can by mistake have selected a channel....).

Btw, your attachment isn't the file you work on but a screen capture...

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 19:30
Post: #7
RE: Stroke Path tool not working
(Jun 21, 2011 19:16)ofnuts Wrote:  Stroking the path won't do anything if you have any kind of selection active and it doesn't include the path. Do Select/None before stroking the path, and make sure your layer is active (you can by mistake have selected a channel....).

Btw, your attachment isn't the file you work on but a screen capture...

I did Select/None before stroking the path, but that didn't help. How do I make sure my "layer is active"? How could I have by mistake "selected a channel"? I don't know what those phrases mean.
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 19:32
Post: #8
RE: Stroke Path tool not working
(Jun 21, 2011 19:30)BuddySutter Wrote:  
(Jun 21, 2011 19:16)ofnuts Wrote:  Stroking the path won't do anything if you have any kind of selection active and it doesn't include the path. Do Select/None before stroking the path, and make sure your layer is active (you can by mistake have selected a channel....).

Btw, your attachment isn't the file you work on but a screen capture...

I did Select/None before stroking the path, but that didn't help. How do I make sure my "layer is active"? How could I have by mistake "selected a channel"? I don't know what those phrases mean.

Another "by the way": I can't attach the actual file because it has someone's personal information. That's why I did the screenshot zoomed in instead.
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 19:45
Post: #9
RE: Stroke Path tool not working
At that zoom level the line you have made is only about 20 pixels long and you're trying to make it 50 pixels wide. While that should technically work, its a little odd. What happens if you try dialing back the stroke width to something like 5 pixels or so? What is your foreground color set to?

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 20:01
Post: #10
RE: Stroke Path tool not working
(Jun 21, 2011 19:45)Virago Wrote:  At that zoom level the line you have made is only about 20 pixels long and you're trying to make it 50 pixels wide. While that should technically work, its a little odd. What happens if you try dialing back the stroke width to something like 5 pixels or so? What is your foreground color set to?

Here it is after I have chosen 5px and here is the box showing my foreground color: 000000. My background color is ffffff.


Attached File(s)
.xcf  Stroke Path 2.xcf (Size: 454.47 KB / Downloads: 66)
Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 20:14
Post: #11
RE: Stroke Path tool not working
(Jun 21, 2011 19:30)BuddySutter Wrote:  
(Jun 21, 2011 19:16)ofnuts Wrote:  Stroking the path won't do anything if you have any kind of selection active and it doesn't include the path. Do Select/None before stroking the path, and make sure your layer is active (you can by mistake have selected a channel....).

Btw, your attachment isn't the file you work on but a screen capture...

I did Select/None before stroking the path, but that didn't help. How do I make sure my "layer is active"? How could I have by mistake "selected a channel"? I don't know what those phrases mean.
Open the Channels dialog and check you have nothing selected besides the three color channels (but if you don't know where it is there there is little chance you have something there). The Layers dialog should show one layer selected (and it should be the right one).

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 20:16
Post: #12
RE: Stroke Path tool not working
(Jun 21, 2011 19:32)BuddySutter Wrote:  Another "by the way": I can't attach the actual file because it has someone's personal information. That's why I did the screenshot zoomed in instead.
Yes, but that means we can't see what's really happening. Can you reproduce the problem on another more anonymous image?

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 21, 2011, 22:34
Post: #13
RE: Stroke Path tool not working
(Jun 21, 2011 20:16)ofnuts Wrote:  
(Jun 21, 2011 19:32)BuddySutter Wrote:  Another "by the way": I can't attach the actual file because it has someone's personal information. That's why I did the screenshot zoomed in instead.
Yes, but that means we can't see what's really happening. Can you reproduce the problem on another more anonymous image?

I agree with Ofnuts. Since you say it works okay with my test that means Gimp and paths and stroking them seem to be working. It almost has to be something with this particular image, and without seeing it we're kind of shooting in the dark.

Would this be possible... make a copy of your file, then edit it to remove anything with personal info. If it still exhibits the problem then, post that file. Or as an alternative, rather than posting it openly, could you email a copy to myself or Ofnuts if we promise not to share or post it?

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Jun 22, 2011, 14:28
Post: #14
RE: Stroke Path tool not working
Quote:The Layers dialog should show one layer selected (and it should be the right one).

ofnuts' suggestion to check the Layers worked. I went to Layer->Stack->Select Next Layer twice, and it worked. But I'm still not totally sure what I'm doing. I noticed that after I did that twice, "Select Next Layer" and "Select Bottom Layer" were both grayed out. Does this mean that this image has three layers and I went to the bottom layer? I tried to do it on the "middle layer" (if I am correct in my assumptions) also, but it didn't work. Why is it only allowing me to stroke a path on the bottom layer? This was originally a PDF image; does this have something to do with it?
Find all posts by this user
Quote this message in a reply
Jun 22, 2011, 14:37
Post: #15
RE: Stroke Path tool not working
"Select Next Layer" and "Select Bottom Layer" are grayed out when they can't be used, typically when the bottom layer is the one selected.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Using the Elipse tool bl665 1 110 Jul 28, 2017 06:07
Last Post: ythgilb
  invert not working, no LqR remadepreacher 1 136 Jun 22, 2017 08:09
Last Post: ythgilb
  invert not working, no LqR remadepreacher 1 111 Jun 22, 2017 08:04
Last Post: ythgilb
  Blur tool changes the color F_Jenkins17 3 243 Oct 8, 2014 07:38
Last Post: ofnuts
  Can't find line tool? FluffyMuffins230 4 370 Oct 1, 2014 16:24
Last Post: FluffyMuffins230

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS