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



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



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