It is currently Sat Aug 29, 2026 11:54 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Warp Transform tool PDB function? (Solved)
PostPosted: Fri May 22, 2020 7:13 pm  (#1) 
Hi my fellow GIMP users, I hope things are going well in the midst of the troubles and are staying safe. I have another question for the GIMP script writer if you don't mind.

Since Gimp 2.10 introduce the new "Warp Transform tool" and omitted the "IWarp" plugin, I can't find a PDB function for the new tool. I wrote a plugin that creates a Glass sphere and I need the Warp Transform for the last part of the script. What is the pdb function? Any help is well appreciated. Thank you in advanced!


Last edited by Pocholo on Sat May 23, 2020 10:23 am, edited 1 time in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Warp Transform tool PDB function?
PostPosted: Sat May 23, 2020 8:57 am  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2613
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=18040


Top
 Post subject: Re: Warp Transform tool PDB function?
PostPosted: Sat May 23, 2020 10:22 am  (#3) 
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=18040


Thanks 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.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group