Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Draw along curve/selecion with warp tool
#1
Hello,

does anyone know any workaround that allows using pinching warp tool (available in 2.10) automatically along curve? It seems to have been omitted in the drop-down where one select a tool for patch drawing. Maybe there is a script for that? Thanks in advance.

Paul
Reply
#2
I do not know of any workaround. As far as I know this is not possible. The new Warp is a transform tool and a GEGL operation, not a paint tool.

There have been enhancement requests like this one for a shift-click Warp in a straight line https://gitlab.gnome.org/GNOME/gimp/issues/3515  

You can always add a 'wish' for Warp-along-a-path on that site.

There might be other ways depending on what is required. This for example using a gmic http://www.gmic.eu  warp-map filter where the map is a fuzzy line.  https://i.imgur.com/1eESQ4r.jpg
Reply
#3
Maybe you can suggest any trick that will help me? I have a picture with a shape on a white background. The edge is just a free form curve. What I'm trying to do is to add bleed margin to a shape, so that if it is printed and then cut along it's edge I get no white margin (in case of slightly missed cut). The best solution for me is to use warp pinch that stretches the edge a little, giving me smooth transition. However doing that by hand is painful. Any other ideas? Smile
Reply
#4
It might help if you gave a few details. Size of 'shape' in pixels to start and ppi. A (hopeful) bleed size, for printing it is usually 3 mm.

A cropped section might help as well.
Reply
#5
I have many different pictures, but usually the size is approximately 200 ppi or 3000 pixels wide. Usually 1-1.5 mm of margin is more than enough. Pictures contain flowers, animals, cartoon animals etc. I try to keep the outline simple, without meanders, but it's definitely not a basic shape like a circle or a square Smile
Reply
#6
(02-12-2020, 10:16 PM)sulu00 Wrote: I have many different pictures, but usually the size is approximately 200 ppi or 3000 pixels wide. Usually 1-1.5 mm of margin is more than enough. Pictures contain flowers, animals, cartoon animals etc. I try to keep the outline simple, without meanders, but it's definitely not a basic shape like a circle or a square Smile

Tried all the usual clever stuff, resynthesizer functions, gmic inpaint options, various clever constrained blurs. Not a lot of success.

New day another try. This might work, depends on your images. Using an old script from RobA  filltrans.scm The script attached since the site is often down but it did originally come from: http://www.silent9.com/incoming/scripts/

Unzip and put in your user profile scripts folder.

This a quick demo, removed the background for this but stroking a selection with the eraser tool should work, as long as you can get some transparent area. Again depends on your images.   Duration 2 minutes https://youtu.be/Ik4vpzd-epo





Attached Files
.zip   filltrans.zip (Size: 1.83 KB / Downloads: 94)
Reply
#7
(02-14-2020, 09:59 AM)rich2005 Wrote:
(02-12-2020, 10:16 PM)sulu00 Wrote: I have many different pictures, but usually the size is approximately 200 ppi or 3000 pixels wide. Usually 1-1.5 mm of margin is more than enough. Pictures contain flowers, animals, cartoon animals etc. I try to keep the outline simple, without meanders, but it's definitely not a basic shape like a circle or a square Smile

Tried all the usual clever stuff, resynthesizer functions, gmic inpaint options, various clever constrained blurs. Not a lot of success.

New day another try. This might work, depends on your images. Using an old script from RobA  filltrans.scm The script attached since the site is often down but it did originally come from: http://www.silent9.com/incoming/scripts/

Unzip and put in your user profile scripts folder.

This a quick demo, removed the background for this but stroking a selection with the eraser tool should work, as long as you can get some transparent area. Again depends on your images.   Duration 2 minutes https://youtu.be/Ik4vpzd-epo



Wow, I don't know what to say. This is awesome, and exactly a thing that I was looking for. Thank you a lot. Gotta test that on my pictures, but it's really promising. You are my idol Smile
Reply


Forum Jump: