As far as I know you can not stroke the path that way.
Using the clone tool, and a suitable brush, you can offset the source, then click to start the cloning and shift-drag-click along the wire. screenshot https://i.imgur.com/UT04Bfl.jpg
Still using resynthesizer: The heal-selection.py plugin. Easy to paint in a selection using quick-mask (do all the defects in one go) Apply heal-selection. https://i.imgur.com/gGjFSJ0.jpg
Using the gmic_gimp plugin. The InPaint filter - this might be the easiest one for you. http://www.gmic.eu
Paint over in red using the pencil tool (no anti-alias) Apply the filter. https://i.imgur.com/kv1RBFJ.jpg
Most of those are easy to find. If you need a Windows resynthesizer Blighty posted the link. A linux resynthesizer should be in your distro repo.
(09-02-2018, 04:26 PM)le.snake Wrote: I know how to use the clone tool : ctrl + clic to select source image, then clic.
Now to remove a wire in the sky, I create a path then I want to use the clone tool when stroking that path.
Then I get a dialog telling me to select a source image. Which I already did previously.
Steps are
open image
create path
select clone tool
ctrl + clic to define source
select path
stroke path
select "use paint tool" (I translate, 'cause I use french HMI)
select clone
click stroke
Get a dialog saying to select source image.
close that dialog
while the stroke path dialog open:
ctrl + clic to define source
click stroke
Get a dialog saying to select source image.
I tested that on both windows and linux.
Gimp 2.10.6
Did any body succeed in using clone when stroking a path ?
Btw, if you got a better trick to remove wires in pictures, I get it !
Le.snake
I remember to ask the developers once, and got the admittance that this wasn't thought about.
What you can do with your path is to either:
stroke with the eraser to create a "hole" in the image and use the "Heal transparency" option of the resynthesize plugin.
stroke a line in a new layer, alpha- to selection to get the selection on that line, and use the "Heal selection" option of the resynthesize plugin on the image layer
(09-02-2018, 04:26 PM)le.snake Wrote: I know how to use the clone tool : ctrl + clic to select source image, then clic.
Now to remove a wire in the sky, I create a path then I want to use the clone tool when stroking that path.
Then I get a dialog telling me to select a source image. Which I already did previously.
Steps are
open image
create path
select clone tool
ctrl + clic to define source
select path
stroke path
select "use paint tool" (I translate, 'cause I use french HMI)
select clone
click stroke
Get a dialog saying to select source image.
close that dialog
while the stroke path dialog open:
ctrl + clic to define source
click stroke
Get a dialog saying to select source image.
I tested that on both windows and linux.
Gimp 2.10.6
Did any body succeed in using clone when stroking a path ?
Btw, if you got a better trick to remove wires in pictures, I get it !
Le.snake
I remember to ask the developers once, and got the admittance that this wasn't thought about.
What you can do with your path is to either:
stroke with the eraser to create a "hole" in the image and use the "Heal transparency" option of the resynthesize plugin.
stroke a line in a new layer, alpha- to selection to get the selection on that line, and use the "Heal selection" option of the resynthesize plugin on the image layer
09-02-2018, 08:11 PM (This post was last modified: 09-02-2018, 08:17 PM by Ofnuts.)
(09-02-2018, 07:53 PM)le.snake Wrote: The menu exists in gimp 2.10
Yes, but it is unusable, because you can't set the source.
OTOH, the clone tool over a path has equivalents:
- in some modes, this is the same as making a shifted copy of the path to stroke a line for a selection (as I told above), and then copy/paste that selection,
- in other modes, stroking with the brush tool after copying the source spot to the clipboard and using the "Clipboard" brush (the first of the list of Brushes).
09-02-2018, 08:15 PM (This post was last modified: 04-09-2022, 10:52 AM by rich2005.)
They are teasing me !
(09-02-2018, 06:06 PM)rich2005 Wrote: As far as I know you can not stroke the path that way.
Using the clone tool, and a suitable brush, you can offset the source, then click to start the cloning and shift-drag-click along the wire. screenshot https://i.imgur.com/UT04Bfl.jpg
Still using resynthesizer: The heal-selection.py plugin. Easy to paint in a selection using quick-mask (do all the defects in one go) Apply heal-selection. https://i.imgur.com/gGjFSJ0.jpg
Using the gmic_gimp plugin. The InPaint filter - this might be the easiest one for you. http://www.gmic.eu
Paint over in red using the pencil tool (no anti-alias) Apply the filter. https://i.imgur.com/kv1RBFJ.jpg
Most of those are easy to find. If you need a Windows resynthesizer Blighty posted the link. A linux resynthesizer should be in your distro repo.
04-09-2022, 10:21 AM (This post was last modified: 04-09-2022, 10:35 AM by rich2005.)
1. It is fixed in the 2.99.10 dev version: https://i.imgur.com/pq43Dvp.jpg I recall seeing the item in the Gimp commit log (but I can not now find it) I think it might be fixed in the next 2.10 version.
2. Stroke path with eraser tool does work, the only annoyance is having to select it every time.
3. You can stroke a path with the smudge tool, but you could give details of what you require.
- Stroking a path with source tools (Clone, Heal…) is now possible
when the tool is active and a source was selected.
Technically it's more of a bug fix because the GUI existed as though
it was meant to work, but since the report has existed for more than
13 years and I'm not sure it has ever worked, it's worth writing it
here.
No mention of Gimp 2.10 so maybe it will not get fixed
(09-02-2018, 06:06 PM)rich2005 Wrote: Using the gmic_gimp plugin. The InPaint filter - this might be the easiest one for you. http://www.gmic.eu
Paint over in red using the pencil tool (no anti-alias) Apply the filter. https://i.imgur.com/kv1RBFJ.jpg