rich2005 wrote:
AFAIK it is a GEGL function
http://gegl.org/operations/gegl-warp.html and therefore not in the PDB
There are notes about scripting here:
viewtopic.php?f=9&t=18040Thanks a lot rich2005 for the respond. In a way I knew that the developers did not update the PDB to access this new Gegl functions. I had to use some common sense and I went and used a G"MIC filter to compensate for the look I need.
pdb.plug_in_gmic_qt(img, backLayer, 1, 0,
"-v - -fx_distort_lens 0.1,0,0.16,50,50,0")
It's not bad but i rather have the Transform tool or Lens distortion for this script.
Ps The GIMP Lens distortion pdb function is there but since the plugin is not, it won't give you a good result. As the matter of fact, it gave a horrible result. I will post the plugin soon. Thanks again.