For example, I will select a few different regions of the mask, and fill it with different levels of gray: If you Rectangle Select a different area of the mask, you can fill it in with a different shade of gray to produce a variable opacity. As soon as you do, you’ll be presented with a new view of your image on the canvas:Īs you can see, filling the selected portion of the layer mask with black resulted in that area having 100% transparency, showing the layer below it. You can now click inside the selection to fill it with the foreground color (black). I am going to use the Rectangle Select tool to select roughly the top third of the image, and I’ll fill this selection with black. To illustrate how masks can affect its layers transparency, let’s paint! Modifying a Layers Transparency with the Mask ¶Īt this point any operations performed on the canvas will apply to the mask and not to any layers themselves. It is also active (there is a white border around the thumbnail in the dialog, but is not visible due to the mask being white as well) and ready for modification. The layer mask has now been added to the “Teal” layer. Layers dialog with mask applied to Teal layer. You should notice a change in your Layers dialog now that shows the layer mask thumbnail to the right of the layer it applies to (in this case the “Teal” layer): The option to initialize to Black shows that the mask will make the entire layer fully transparent.įor the purposes of this tutorial, we will let the mask initialize to White (full opacity).
THE MASK GIF FULL
Notice that the first option is to set the entire mask to White, which will result in full opacity on the layer (no transparency from the mask). There are many options for initializing the Layer Mask. This will then bring up the “ Add a Mask to the Layer” dialog with some options: You can also add a layer mask through the menus: Right-Click on the layer you want to add a mask to (the “Teal” layer in my example), and the Context menu will show an option to Add Layer Mask…: The teal layer is the active layer (look for the white border), and the one which we will add a layer mask to. There is a base image at the bottom of the stack, and a single layer of teal over it. The process for adding them is simple.įor this example I will use a simple image with only two layers, as shown above. Layer masks need to be added to a layer before they can be used. This flexibility to define the opacity of different areas of a layer is the basis for more interesting image manipulation techniques such as selective coloring and luminosity masking. This modification of a layer’s transparency through a mask is non-destructive to the layer itself. This differs from the use of the layer Opacity slider as a mask has the ability to selectively modify the opacity of different areas across a single layer. They allow you to selectively modify the opacity (transparency) of the layer they belong to. Layer masks are a fundamental tool in image manipulations.