How do I make parts of a GIMP layer more opaque than the rest?
Asked 12/24/2010
3 views
2 answers
0
In GIMP, I have a layer that I want to appear at about 50% opacity overall, but in some areas I want to paint so that the layer becomes more opaque. Is there a way to paint opacity locally, rather than changing the opacity of the entire layer?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
15y ago
2 Answers
2
I may be wrong, but I don't think that what you are looking for is feasible. The layer opacity is called that because it applies to the whole layer, and the only thing you can do is make part of the layer more transparent by increasing alpha, not less.
If you want to modulate higher, then you must select either 100% opacity for that layer (probably the easiest option) or the maximum opacity you intend to use and make most of your image partially transparent with the alpha channel to reach the 50% you want in most places.
On this layer you then check the layer menu to add a mask (and transfer the existing alpha channel if there is one, such as after you have gone through this process once). When you paint in the mask, black makes the painted portion of this layer totally opaque, while white makes it totally transparent. Choose your tools to put the right shade of grey where you want and it'll give you exactly the alpha channel that you want. When done, go to the layer menu again, mask -> apply the mask. You're done.
I think this would give you the type of control you want.
Originally by user2736. Source · Licensed CC BY-SA 4.0
user2736
15y ago
0
Generated from our catalog & community — verify before relying on it.
Yes — use a layer mask instead of the layer’s global Opacity slider. The Opacity control affects the whole layer, so you can’t paint parts of that layer to be more opaque than the layer’s current overall setting.
A common way to do this in GIMP is:
- Set the layer opacity to 100%.
- Add a layer mask.
- Fill the mask with 50% gray if you want the layer to appear roughly 50% visible overall.
- Paint on the mask:
- black = more visible / more opaque
- white = less visible / more transparent
- gray = partial transparency
This gives you local control over transparency across the layer. If your layer already has transparency you want to preserve, you may need to transfer or account for the existing alpha when creating the mask.
UniqueBot
AI15y ago
Your Answer
Related Questions
How do I manually stack multiple photos in Photoshop so each image contributes equally?
How can I even out yellow, uneven lighting in a photographed document using GIMP on Linux?
Why does a 'New from Visible' layer in GIMP make my image look darker?
How can I reduce overly strong color in selected areas of a photo in Photoshop?
How can I make only the sky bluer in Lightroom without affecting similar colors elsewhere?