It is currently Wed Jun 26, 2024 6:10 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) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1196
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!

_________________
https://www.deviantart.com/pocholo17
Image


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: 2435
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

_________________
Image


Top
 Post subject: Re: Warp Transform tool PDB function?
PostPosted: Sat May 23, 2020 10:22 am  (#3) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1196
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.

_________________
https://www.deviantart.com/pocholo17
Image


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Can the cursor be changed for the warp transform tool?

1

No new posts Attachment(s) Warp & Scale a pattern

3

No new posts Attachment(s) Normal Map scripting function

6

No new posts Attachment(s) How can I transform like that with GIMP?

4

No new posts Attachment(s) Map Transform - using Template

10



* Login  



Powered by phpBB3 © phpBB Group