Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

How to use a script

Sat Jan 17, 2015 8:47 pm

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.

Re: How to use a script

Sun Jan 18, 2015 5:44 am

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.

Re: How to use a script

Sun Jan 18, 2015 1:00 pm

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.
Post a reply