Out of curiosity, I made a graph to see the effect of the "blending function" in a gradient, and how it behaves if the midpoint is changed.
To replicate, adapt and run this code in the Python console, and copy/paste the result to a CSV that you feed to your favorite spreadsheet application.
Source XCF also attached.
Edit: some code updates (works with alpha channel, and dumps only visible layers)
The "50" gradients have the default midpoint position, and the "75" one have the midpoint dragged to 75% of the range.
To replicate, adapt and run this code in the Python console, and copy/paste the result to a CSV that you feed to your favorite spreadsheet application.
Code:
def valueAt(layer,x,y):
_,rgb=pdb.gimp_drawable_get_pixel(layer,x,y)
return sum(rgb[:3])/3.
def dumpLayer(layer):
y=layer.height/2
pts=['%.1f' % valueAt(layer,x,y) for x in range(layer.width)]
print '"%s",%s' % (layer.name, ','.join(pts))
def dumpImage(image):
for layer in [l for l in image.layers if l.visible]:
dumpLayer(layer)
image=gimp.image_list()[0]
dumpImage(image)
Source XCF also attached.
Edit: some code updates (works with alpha channel, and dumps only visible layers)