Re: How to get color tag of layer in python plugin script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For each layer you can assign a 'color tag' in the properties dialog. They
don't affect the image, but artists use them to mark layers.

On 22 Feb 2018 11:32 am, "Carol Spears" <carol.spears@xxxxxxxxx> wrote:

>
>
> On Wed, Feb 21, 2018 at 9:16 PM, John Tapsell <johnflux@xxxxxxxxx> wrote:
>
>> Hi,
>>
>>   How can I get the color tag of a layer in a python plugin script please?
>>
>>
> Not sure what you mean by "color tag" but the color picker can be invoked
> with:
> color = pdb.gimp_image_pick_color(image, drawable, x, y, sample_merged,
> sample_average, average_radius)
>
> carol
>
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux