0

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

Gimp Example

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

1

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

  1. Select the top layer, and click Layer > New from Visible

  2. Hide all the other layers

  3. Right click the text layer and choose Alpha to selection

  4. Right click the layer you made from visible, and choose Add Layer Mask, and choose the option selection, click OK

  5. Click File > Export as and choose PNG as the file format if you want a transparent background.

Example: enter image description here

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.

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.