Mobile app version of vmapp.org
Login or Join
Kevin459

: How to make an image with transparent text on an opaque background? For my blog, I would like to create something like this logo: However, where the text on the image above is white, I

@Kevin459

Posted in: #Gimp #Transparency

For my blog, I would like to create something like this logo:



However, where the text on the image above is white, I would like to have a transparent hole instead, so that the background of the page would show through. How could I create something like that in GIMP?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kevin459

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn212

There are several ways you could do that, but the obvious choice for me would be to use a layer mask.

First, make a layer filled with your desired color:



Next, use Layer → Mask → Add Layer Mask.. to add a fully opaque mask for the layer.

Then create the text or other shape you want to cut out from the image, e.g. some text, as black on white:



Finally, copy the text and paste it into the layer mask. Your color layer should now have a transparent text-shaped hole in it:



There are many other possible ways to achieve the same result, e.g. using Color to Alpha or just by selecting the text by color and cutting the resulting selection out of the color layer. The nice thing about layer masks, however, is that the mask and the content of the layer remain separately editable, allowing you to easily adjust them later.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme