Re: [Gimp-developer] Using gimp in a script

2018-02-23 Thread Ofnuts
You don't  need to register the python code as  a plugin if you are only using it in this kind of script. Link to a ZIP with a sample Python script and a sample shell https://www.dropbox.com/s/hgg08yen5220wu9/gimpbatch.zip?dl=0 (written in Gimp 2.6 times but not much changes since) On

[Gimp-developer] Using gimp in a script

2018-02-22 Thread John Tapsell
Can I improve this somehow? I have a gimp plugin as myplugin.py. I want to run this from the command line on given file(s). I wrote this script which works, but I'm wondering if I can improve it at all. I have this script in a folder, and the plugin in a subfolder gimpplugin/