08-31-2020, 11:02 AM
I am trying to modify a channel using gimp_drawable_curves_spline. The line I am using is:
pdb.gimp_drawable_curves_spline(image,HISTOGRAM_VALUE,18,0.0,0.0,0.0625,0.125,0.125,0.250,0.250,0.375,0.5,0.5,0.75,0.625,0.875,0.750,0.9375,0.875,1.0,1.0)
It gives me an error of wrong number of parameters. Obviously something silly on my part, but I have checked my decimal points, counted my commas numerous times and still can't see what I am doing wrong!
Any help much appreciated.
david.
pdb.gimp_drawable_curves_spline(image,HISTOGRAM_VALUE,18,0.0,0.0,0.0625,0.125,0.125,0.250,0.250,0.375,0.5,0.5,0.75,0.625,0.875,0.750,0.9375,0.875,1.0,1.0)
It gives me an error of wrong number of parameters. Obviously something silly on my part, but I have checked my decimal points, counted my commas numerous times and still can't see what I am doing wrong!
Any help much appreciated.
david.