RSS/Atom feed Twitter
Site is read-only, email is disabled

Plug-in to set the visibility of a group of layers

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

6 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

set the visibility of a group of layers Pere Pujal i Carabantes 10 Jun 22:57
  set the visibility of a group of layers Joao S. O. Bueno 12 Jun 04:03
   Plug-in to set the visibility of a group of layers Joao S. O. Bueno 12 Jun 05:01
    Plug-in to set the visibility of a group of layers Pere Pujal i Carabantes 13 Jun 09:33
     Plug-in to set the visibility of a group of layers Pere Pujal i Carabantes 16 Jun 02:03
      Plug-in to set the visibility of a group of layers Joao S. O. Bueno 16 Jun 05:06
Pere Pujal i Carabantes
2008-06-10 22:57:41 UTC (over 16 years ago)

set the visibility of a group of layers

Hi all!

Many times I have to set the visibility of a group of layers, for example to test the results from a combination of them against another combination of layers.

Is there some plugin that allows to set some groups of layers and then change their visibility at once?

Thanks Pere.

Joao S. O. Bueno
2008-06-12 04:03:56 UTC (over 16 years ago)

set the visibility of a group of layers

On Tuesday 10 June 2008, Pere Pujal i Carabantes wrote:

Hi all!

Many times I have to set the visibility of a group of layers, for example to test the results from a combination of them against another combination of layers.

Is there some plugin that allows to set some groups of layers and then change their visibility at once?

Hi -
I do have a plug-in that allows you to name layer groups and then link/unlink then at once.

Changing it to toggle visibility should be trivial.

I am really in a hush now to trim the plug-ins now for uploading then anywhere, or changing/testing then to work with visibility instead of linking.

I will just attach then in another e-mail (since this list should not allow attachments). They are python plug-ins, so you will need gimp-python working.

Just use the XTns->Procedure browser to see the functions used to link and set layer visibility to make the changes that will suit you.

(there are two scripts, one ask for a name, and attribute that to the current set of linked layers. The other one just asks for a name, and restores the saved linking state)

js ->

Thanks
Pere.

Joao S. O. Bueno
2008-06-12 05:01:43 UTC (over 16 years ago)

Plug-in to set the visibility of a group of layers

Hi again,

I actually updated the plug-in, as working with visibility would be nice as wella s working with the linked states.

As it is new, it adds a "Group" submenu to the Layer menu.

Please, download it from: http://www.gimpstuff.org/content/show.php?content=83137

On Wednesday 11 June 2008, Joao S. O. Bueno wrote:

On Tuesday 10 June 2008, Pere Pujal i Carabantes wrote:

Hi all!

Many times I have to set the visibility of a group of layers, for example to test the results from a combination of them against another combination of layers.

Is there some plugin that allows to set some groups of layers and then change their visibility at once?

Hi -
I do have a plug-in that allows you to name layer groups and then link/unlink then at once.

Changing it to toggle visibility should be trivial.

I am really in a hush now to trim the plug-ins now for uploading then anywhere, or changing/testing then to work with visibility instead of linking.

I will just attach then in another e-mail (since this list should not allow attachments). They are python plug-ins, so you will need gimp-python working.

Just use the XTns->Procedure browser to see the functions used to link and set layer visibility to make the changes that will suit you.

(there are two scripts, one ask for a name, and attribute that to the current set of linked layers. The other one just asks for a name, and restores the saved linking state)

js ->

Thanks
Pere.

Pere Pujal i Carabantes
2008-06-13 09:33:29 UTC (over 16 years ago)

Plug-in to set the visibility of a group of layers

Hi Joao!

El dj 12 de 06 de 2008 a les 00:01 -0300, en/na Joao S. O. Bueno va escriure:

Hi again,

I actually updated the plug-in, as working with visibility would be nice as wella s working with the linked states.

Very nice tool, thanks! :)

It laks preview, but does the basic and most important thing. Is it possible to add preview in a python-fu plugin or is better to develop a plugin in C ?

Yours
Pere

Pere Pujal i Carabantes
2008-06-16 02:03:16 UTC (over 16 years ago)

Plug-in to set the visibility of a group of layers

El dv 13 de 06 de 2008 a les 09:33 +0200, en/na Pere Pujal i Carabantes va escriure:

It laks preview, but does the basic and most important thing.

No, it don't lacks preview, it laks agility.

Here is a diff to your script that adds a controller dialog. http://fornol.no-ip.org/linux/gimp/diffto_layer_groups.py

The dialog shows the groups you have made to an image and allows to change between them.
The dialog don't close until you close it, and the results are shown as soon as you click on the names of the groups. Please, feel free to adopt or reject the patch and enhance it.

Hope this helps, at least it works for me :) Thanks
Pere

Joao S. O. Bueno
2008-06-16 05:06:18 UTC (over 16 years ago)

Plug-in to set the visibility of a group of layers

On Sunday 15 June 2008, Pere Pujal i Carabantes wrote:

El dv 13 de 06 de 2008 a les 09:33 +0200, en/na Pere Pujal i Carabantes

va escriure:

It laks preview, but does the basic and most important thing.

No, it don't lacks preview, it laks agility.

Here is a diff to your script that adds a controller dialog. http://fornol.no-ip.org/linux/gimp/diffto_layer_groups.py

The dialog shows the groups you have made to an image and allows to change between them.
The dialog don't close until you close it, and the results are shown as soon as you click on the names of the groups. Please, feel free to adopt or reject the patch and enhance it.

Hope this helps, at least it works for me :) Thanks
Pere

Hi Pere!

Yhankyou for your patch - very itnersting indeed - and actually make the plug-in jump from a workaround hack to something usable.

I am adapting your patch to use a gtk_tree_view, imitating gimp's layers dialog. However if I take too long before publishing, (like later than wednesday), poke me again so I publish the script with your patch as is.

js
->