08-31-2020, 07:40 PM
The fourth argument is an array, and instead your provide the number as individual arguments. Do something like:
Code:
splinePoints=[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]
pdb.gimp_drawable_curves_spline(image,HISTOGRAM_VALUE,len(splinePoints),splinePoints)