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

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

 



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@xxxxxxxxx> wrote:

> Here's a screenshot :
>
> https://goo.gl/images/FE4f5M
>
> 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
>
_______________________________________________
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