08-24-2018, 03:35 AM
How to get color from gradient at certain position ?
Python fu : Gradient API
|
08-24-2018, 03:35 AM
How to get color from gradient at certain position ?
08-24-2018, 06:33 AM
You use pdb.gimp_gradient_get_custom_samples() with a list of one element:
Code: pdb.gimp_gradient_get_custom_samples(gradient,1,[.5],False) But it is usually better to get all your gradient samples at the same time using a single call with a list of positions...
08-24-2018, 03:43 PM
That's what I'm looking for. Thank you
|
« Next Oldest | Next Newest »
|