- [Voiceover] In this movie, I'll show you how to
draw a border around an image because it's not
the least bit intuitive, and I'll also show you a fun
trick for colorizing a photo using a fill.
So let's say I want to crop this image a little bit,
any time you want to crop using the bounding box,
then you want to start things off by clicking on the file
name up here on the left side of the control panel,
choosing placement options, and then just go ahead
and change preserve to file dimensions and turn on
clip bounding box, and then click ok.
Now any time you drag that bounding box you're gonna
end up cropping the image.
Alright now at this point I want to hide the bounding
box so I'll go up to the view menu and choose hide
bounding box, or again you can press control shift B,
or command shift B on the mac, and now let's say I want
to assign a stroke around the outside of the image,
then I would go up to the window menu and choose the
appearance command to bring up my appearance panel,
and then with this link file active, just go ahead
and drop to the add new stroke icon in the bottom left
corner of the appearance panel and click on it, and now
notice I have a stroke with the line weight of one point.
Let's just go ahead and take it up to four points so that
we can see it and notice that I am not seeing that stroke
at all, even though we've assigned the stroke to this image,
we can't see it, and that's because illustrator really
doesn't have anything to stroke, and the reason is
illustrator doesn't give you a frame, and so if this
were in design, then any time you placed an image you
would create a frame around it as well.
That's not what happens though in the case of illustrator,
so what we need to do is give the program something
to stroke, by making sure the stroke is active here inside
the appearance panel, and then you want to drop down
to the FX icon and choose convert to shape, and then
choose rectangle, at which point if you have the preview
checked box turned on, you will see a stroke somewhere
around that image.
What we want, assuming that you want the border right on the
image itself, then you want to make sure that size
is set to relative and that both extra width and extra
height are set to zero like so,
at which point you can then click ok.
I want you to notice however that this is not the solution
if you're looking for a rounded rectangle border,
because notice now if I crank that corner radius value
up I am rounding the border but I'm not rounding the image.
So the photograph is still a sharply cornered rectangle.
So this is only gonna work if you want a rectangular
boundary, so I'll go ahead and switch back to rectangle
and click ok.
Alright now I'm gonna zoom in a little bit and imagine
that I want to give this image a kind of sepia tone,
then I'll go ahead and select the fill this time around,
inside the appearance panel, I'll click on its swatch
and then I'll select this shade of brown let's say,
the one that begins r equals 198.
And again, we're not gonna see a darn thing, and that's
because I haven't given the fill anything to hang onto,
and so what we're gonna do is go up to the effect menu
and choose that very first command, apply rectangle,
which will apply my most recent settings and thereby
fill the entire image with brown.
Alright now notice, assuming the fill is twirled open, that
we have a rectangle effect here as well as this inset word
opacity, go ahead and click on it and then click
on the word normal in the top left corner of this
transparency panel, and change the blend mode to color
in order to produce this effect right here.
And then let's say I want to back it off a little bit
by taking the opacity value down to 66% in order
to produce this final effect, and now I'll click off
the image to deselect it, and that's how you go about
drawing a border around a placed image using
a stroke along with a rectangle effect, as well as
how you colorize an image using a fill here
inside illustrator.