Gimp-Forum.net
Weighted Blend - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Gimp 2.8 questions (https://www.gimp-forum.net/Forum-Gimp-2-8-questions)
+--- Thread: Weighted Blend (/Thread-Weighted-Blend)



Weighted Blend - Animusmontus - 01-05-2019

Is there a plugin or a means to weight a shaped blend to certain predetermined points instead of the normal center of the shape?


RE: Weighted Blend - Ofnuts - 01-05-2019

Not directly, but you can:

1) apply a plain linear black to white gradient

[attachment=2457]

2) Use Curves (or, in the simpler cases, Levels) to map to another gradient.

[attachment=2458]

In other words, you can see the initial gradient as indicating how far you are from the border, and the Curves as mapping that distance from the border in to a grey level.

3) Once you are done, you can use Color>Map>Gradient map to transform that grayscale gradient in to any gradient:

[attachment=2459]



RE: Weighted Blend - Animusmontus - 01-06-2019

Thanks for the help, but that will not work. I will keep trying to write a script to do the work.


RE: Weighted Blend - rich2005 - 01-06-2019

Maybe as a starting point for a script. RMA_path_blend.scm Uses two paths and there are snags - the paths must have the same number of nodes + empty space to fill in.

http://www.silent9.com/incoming/scripts/ about 4 down

Comparison: https://i.imgur.com/MZxztVw.jpg


RE: Weighted Blend - Ofnuts - 01-06-2019

(01-06-2019, 03:36 PM)Animusmontus Wrote: Thanks for the help, but that will not work. I will keep trying to write a script to do the work.

If its a script, you can replace the Curves by a Gradient map with a gradient created on the fly.

Otherwise show an example of what you want to do.

Something like this: http://gimp-wrapmap.sourceforge.net/

Or this: https://sourceforge.net/projects/gimp-path-tools/files/scripts/ofn-gradient-along-path.zip/download