Re: [Gimp-developer] Non-interactive plug-in call (gaussian iir)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Cindy Huyser <chuyser@xxxxxxxxxxxxxx> writes:

> Oops, the syntax of the second call was actually
>  
> return_vals = gimp_run_procedure("plug_in_gauss_iir",&nreturn_vals,
> GIMP_PDB_INT32, GIMP_RUN_NONINTERACTIVE,
> GIMP_PDB_IMAGE, imageID,
> GIMP_PDB_DRAWABLE, drawable->id,
> GIMP_PDB_INT32,15, 
> GIMP_PDB_INT32, 1,
> GIMP_PDB_INT32, 1,
> GIMP_PDB_END);

well, the syntax of the PDB call for plug_in_gauss_iir is actually

 { GIMP_PDB_INT32,    "run_mode", "Interactive, non-interactive"    },
 { GIMP_PDB_IMAGE,    "image", "Input image (unused)"               },
 { GIMP_PDB_DRAWABLE, "drawable", "Input drawable"                  },
 { GIMP_PDB_FLOAT,    "radius", "Radius of gaussian blur (in pixels > 1.0)" },
 { GIMP_PDB_INT32,    "horizontal", "Blur in horizontal direction"  },
 { GIMP_PDB_INT32,    "vertical", "Blur in vertical direction"      }

that's a FLOAT, not an INT for the radius.


Salut, Sven


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux