Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
As we make adjustments to our photos, we’ll take a look at using masks with layers to isolate adjustments to a specific portion of our photo.
New Terms:
- Masks - allows a layer to affect only a defined area of the canvas. History Panel - keeps track of each action taken on a document for the current session.
- Snapshot - Saves a defined point in the document history allowing you to revert to that point in time.
- Flatten Image - merge all layers in a document to a single layer, committing to a single layer.
- Marquee tool - creates a selection area to manipulate or take action on within a layer.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Now that we have a couple
of adjustment layers for
0:00
our photo, let's take a look at Masks.
0:02
Masks allow a layer to
affect only a specific
0:04
area of a canvas that
you are able to define.
0:07
This is super handy when you want to
adjust the greens in the grass, or
0:10
the blue in a sky without changing
those colors in the rest of the image.
0:14
Let's view our Layers panel.
0:18
White rectangle and our adjustment layer,
is actually a mask.
0:20
When Option clicking on a mask,
we're able to view just the mask itself.
0:25
Masks use gray scale to determine
how much of the layer is applied.
0:30
Since it's white, it means the adjustment
layer is affecting the entire canvas.
0:34
If it were a 100% black,
it would make no difference or
0:38
would make the layer transparent.
0:42
Before we make some adjustments
on what we want to do,
0:44
let's visit the History panel and
take a snapshot of where we're at.
0:47
The History panel tracks each action on
your document for the current session.
0:51
To save a point in history
we can take a snapshot.
0:56
Click on the camera icon in
the History panel to do so.
1:00
This creates a thumbnail at
the top of the History panel.
1:03
Now we've saved a point in history of
our document that we can revert back to
1:06
at any time.
1:10
We can take as many snapshots as needed
1:12
which can help us compare
paths we might explore.
1:14
Okay, back to our Layers panel.
1:18
Let's test out our mask by
using our Marquee tool.
1:20
Choosing a portion of the mask and
deleting it.
1:24
So again,
we're viewing simply the mask itself for
1:28
this brightness in contrast layer.
1:31
Notice how we've got our background
color black in our deleted section.
1:40
So this area will not be
affected by the adjustment layer.
1:44
Click on a different layer or on the
adjustment layer icon to view our image.
1:48
Now we can see how this adjustment layer
has affected our image in this area.
1:54
Let's try another example
outside of an adjustment layer.
1:58
Let's add a brand new blank layer
from the Layers panel by clicking
2:02
on the New Layer icon.
2:05
I'm gonna go ahead and
move this up in the order as well.
2:07
And I wanna add a gradient
to this entire layer.
2:10
I'm gonna use the Gradient tool, and
just click and drag to make a gradient.
2:14
Now, let's add a mask to this layer
from within the Layers panel, and
2:19
then Option-click on
the mask to view the mask.
2:23
Now let's see what happens when we
select just a portion of the mask and
2:29
fill it with a white to black gradient.
2:33
Notice how our gradient now,
while we're viewing the mask,
2:41
is only in black to white.
2:45
Click out of the mask.
2:49
And wallah, the green is only visible
2:50
in the white portions of the mask and
it's completely empty in the black.
2:55
Masks provide a lot of options for
creativity, as well.
3:00
So now that we've properly mucked
up our photo, for the client, let's
3:03
undo all those changes, and revert back
to the snapshot from our History panel.
3:07
And I save that snapshot
while viewing the layer.
3:15
So I can actually just click out of
that mask layer and view our image.
3:18
These are incredibly helpful for
3:24
allowing us to explore our
creativity without consequence.
3:25
The only caveat is that the history clears
out the document as soon as you close it.
3:29
So the snapshot itself is
not saved to the file.
3:34
We're now ready to prep this image for
use in our project.
3:38
Since we have multiple layers affecting
this image, we'll wanna go ahead and
3:41
flatten them, so
they don't carry over to the final image.
3:44
To do this,
we're gonna go into the Layers menu.
3:48
And choose Flatten Image.
3:50
We can export this image to a new
file such as a JPEG if we want, but
3:56
in this case we're gonna go ahead and
leave this tab open.
4:00
In our next video, we'll now use
the properly adjusted image and
4:03
combine the other assets we received
from the client into the proper layout.
4:06
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up