Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help! Wrong number of parameters
#2
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)
Reply


Messages In This Thread
Help! Wrong number of parameters - by david - 08-31-2020, 11:02 AM
RE: Help! Wrong number of parameters - by Ofnuts - 08-31-2020, 07:40 PM
RE: Help! Wrong number of parameters - by david - 08-31-2020, 07:59 PM
RE: Help! Wrong number of parameters - by Ofnuts - 08-31-2020, 08:13 PM
RE: Help! Wrong number of parameters - by david - 08-31-2020, 09:15 PM

Forum Jump: