GNOME Bugzilla – Bug 143138
Sharing layer pixel data between layers
Last modified: 2018-05-24 11:06:08 UTC
It would be very nice if there was a way to have multiple layers in am image that can share pixel data. This would be different from current duplicate layers in that changes one layer would alter the other. There would also be a way to promote one of these to a real layer. The use would be when the layer contains some image you want to appear in many places, like a cloned man, perhaps. It would be most useful with the implementation of transformations on the layers, as described in some other bugs, including my own bug #142987. The interface would need to be clear, and that might be difficult but its doable, for sure. They could be called Ghost Layers, perhaps. On creating one, a dialog would appear asking if you want to 'ghost' that pixel data, the mask, or both. The original layer would be exactly like any normal layer, but the newly created Ghost Layer would reference the original layer instead of store its own pixel data. A Ghost Layer's Attribute dialog might have a drop down list of layers, to allow change of what layer it copies. One might also be able to drag and drop another layer onto a Ghost layer to accomplish this.
*** Bug 144565 has been marked as a duplicate of this bug. ***
*** Bug 150156 has been marked as a duplicate of this bug. ***
*** Bug 355021 has been marked as a duplicate of this bug. ***
Sorry if it's rude to add my own suggestion to this, but I can feel righteous about it since when I made a feature request about it (Bug 355021) it was closed as a duplicate of this one. Anyway I suggest that in addition to pointing to the image data of an existing normal layer, the "ghost layers" could also point to a read-only, flattened bitmap of ANOTHER GIMP FILE. Or PNG, PSD, whatever. When you edit and re-save the external file, the readonly bitmap is updated, showing in all the ghost layers that refer to it. Then you can share assets between multiple documents and also preserve the layers within those assets for editing, without needing to expose them in the documents that merely reference them. NOW it's a duplicate :)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/80.