GIMP Chat http://gimpchat.com/ |
|
How to use a script http://gimpchat.com/viewtopic.php?f=9&t=11845 |
Page 1 of 1 |
Author: | SnappyT [ Sat Jan 17, 2015 8:47 pm ] |
Post subject: | How to use a script |
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. |
Author: | ofnuts [ Sun Jan 18, 2015 5:44 am ] |
Post subject: | Re: How to use a script |
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. |
Author: | SnappyT [ Sun Jan 18, 2015 1:00 pm ] |
Post subject: | Re: How to use a script |
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. |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |