Mobile app version of vmapp.org
Login or Join
Shakeerah625

: Gimp - How can I make a selection go through multiple layers? I'm using a text layer and selecting the text to delete out of a white background layer so i can have transparent text with

@Shakeerah625

Posted in: #Gimp #Layers #Selections #Transparency

I'm using a text layer and selecting the text to delete out of a white background layer so i can have transparent text with images behind the text. I have a drop shadow effect on the white background layer and I'd like to select the text and only the part of the background image that's contained inside the transparent text to export. How can I accomplish this? here's an example picture



Link to full size image: i.imgur.com/GLCoebU.png

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Shakeerah625

2 Comments

Sorted by latest first Latest Oldest Best

 

@Samaraweera207

Here's one method that might work for you:-


Select the top layer, and click Layer > New from Visible
Hide all the other layers
Right click the text layer and choose Alpha to selection
Right click the layer you made from visible, and choose Add Layer Mask, and choose the option selection, click OK
Click File > Export as and choose PNG as the file format if you want a transparent background.


Example:


Sadly, GIMP doesn't yet have the ability to add a layer mask to a group, which would be a great way to do this. After using the New Layer from Visible and layer masking technique, you could simply delete that layer if you have no more use for it, or simply hide it.

10% popularity Vote Up Vote Down


 

@Sent7350415

A selection belongs to the image as a whole, and not a specific layer. You can perfectly create a selection using a layer and apply it on other layers.

So, to punch a text-shaped hole through several layers:


Get a selection shaped after the text: make the text layer active and Layer>Transparency>Alpha to selection
Then activate in turn each layer in which you want the hole and use Edit>Clear.


If you need to do this often or have very many layers, see the clear-layers script

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme