After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143138 - Sharing layer pixel data between layers
Sharing layer pixel data between layers
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 144565 150156 355021 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-05-25 16:35 UTC by Calvin Spealman
Modified: 2018-05-24 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Calvin Spealman 2004-05-25 16:35: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.
Comment 1 Sven Neumann 2004-06-18 09:47:14 UTC
*** Bug 144565 has been marked as a duplicate of this bug. ***
Comment 2 Sven Neumann 2004-08-15 00:34:56 UTC
*** Bug 150156 has been marked as a duplicate of this bug. ***
Comment 3 Sven Neumann 2006-09-09 00:11:31 UTC
*** Bug 355021 has been marked as a duplicate of this bug. ***
Comment 4 pnico 2006-09-09 00:57:08 UTC
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 :)
Comment 5 GNOME Infrastructure Team 2018-05-24 11:06:08 UTC
-- 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.