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



According to ./libgimp/gimpitem_pdb.c:879, gimp_item_get_color_tag gets the
color tag of the specified item.

Does that help?

On Wed, Feb 21, 2018 at 9:38 PM, John Tapsell <johnflux gmail com> wrote:

Here's a screenshot :

https://goo.gl/images/FE4f5M

On 22 Feb 2018 11:32 am, "Carol Spears" <carol spears gmail com> wrote:



On Wed, Feb 21, 2018 at 9:16 PM, John Tapsell <johnflux gmail com>
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 gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-
developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



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