It is currently Fri Jun 28, 2024 5:39 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to use a script
PostPosted: Sat Jan 17, 2015 8:47 pm  (#1) 
Offline
New Member

Joined: Jan 17, 2015
Posts: 2
Hello, I haven't used Python scripts in GIMP until I wanted one to symmetrize a path. I can't figure out how to specify the parameters it wants. I've found I can get the image I want to specify with gimp.image_list()[0] but I can't figure out how to get the VECTORS that make up the path to pass to the script.

Thanks.


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: How to use a script
PostPosted: Sun Jan 18, 2015 5:44 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4750
If you call the script from the right-click menu in the path list then the path is the second argument to the script (the image is the first).

Plenty of sample code here: http://sourceforge.net/projects/gimp-pa ... s/scripts/ (doc is here for some of them) including a "path-mirror" that could do what you are trying to achieve.

_________________
Image


Top
 Post subject: Re: How to use a script
PostPosted: Sun Jan 18, 2015 1:00 pm  (#3) 
Offline
New Member

Joined: Jan 17, 2015
Posts: 2
Aha! I didn't know there was a GUI there. Yours is indeed the script I'm using. Thanks for the script and the help.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Attachment(s) Script-fu

6

No new posts Attachment(s) Rotate Hue Script

74



* Login  



Powered by phpBB3 © phpBB Group