[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/

Re: [Gimp-developer] How to get color tag of layer in python plugin script?

2018-02-22 Thread John Tapsell
On 23 Feb 2018 10:57, "Carol Spears" wrote: On Thu, Feb 22, 2018 at 7:37 PM, John Tapsell wrote: > Thanks! It would be cool if it was a property on the layer itself in > python, and if there was a version that returned the actual colour name >

Re: [Gimp-developer] How to get color tag of layer in python plugin script?

2018-02-22 Thread Carol Spears
On Thu, Feb 22, 2018 at 7:37 PM, John Tapsell wrote: > Thanks! It would be cool if it was a property on the layer itself in > python, and if there was a version that returned the actual colour name > instead of a number. (there isn't, right?) > > /Filers/Python Fu/Console has

Re: [Gimp-developer] How to get color tag of layer in python plugin script?

2018-02-22 Thread John Tapsell
Thanks! It would be cool if it was a property on the layer itself in python, and if there was a version that returned the actual colour name instead of a number. (there isn't, right?) On 22 Feb 2018 12:18, "Carol Spears" wrote: > > > On Wed, Feb 21, 2018 at 9:53 PM,