Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
You know, it's important to remember that appearances, such as Live Effects for example, are useful not only for working with vector-based graphics, or even text, inside of Illustrator; they can also be applied to images. In fact, there are some Live Effects that you can use inside of Illustrator that help you get around some seemingly basic tasks when it comes to working with images. For example, on this layout here of this file called images.ai, I have two layouts which are identical, except that I wanted to offer my client two potential of design ideas. The one the left has an image that's just in a rectangle. The one on the right has an images that's actually been silhouetted.
However, I want to add some kind of an outline around the image. I want to put like a key line around the image here. And if you've used a program like InDesign, for example, we know that images always appear inside of frames, so you can always apply a stroke setting to the frame that contains the image. However, in Illustrator, I'll see that when I click on this image here, in my Appearance panel it tells me that I currently have an image that's targeted and inside of that Image are Image Pixels. Now I may say to myself, oh you know what? Illustrator is targeting the image. I know that I can add attributes like fills and strokes, so maybe I can just apply a stroke to the image itself.
So I'll come down to the Appearance panel and I'll choose the Add a New stroke. However, if I do so--I'm going to make that stroke a little bit heavier here, maybe around 10 points even. If I take a look at the artwork, I don't see that stroke appearing at all. So Illustrator seemingly allows me to add a stroke, but it does not display a stroke. Well, the answer to the reason why that does not show up is because an image is not a vector object. Only vector objects can have attributes such as fills and strokes. Because an image is not a vector object, there is no path here that Illustrator can use to apply a stroke to it.
In other words, the structure necessary to apply that presentation does not exist. I'm going to press D to reset my settings back to their default. And sure, I can select my Rectangle tool and I can draw a completely separate object on top of this shape. I can set its stroke weight to 10 point, and give it a fill of none, and now I've added that line around the image itself. But now I've created a completely separate object and now anytime I want to resize the image, I have to make sure that I'm also resizing the separate rectangle, so on and so forth. It can be difficult to manage. I much prefer if I can actually add a stroke to the image itself.
Well, if you were thinking about adding a stroke to the image itself through the Appearance panel, you are halfway there. Our only issue is that we don't have a path for Illustrator to apply that stroke to. But we can call upon a certain effect to help us out in this regard. So I'm going to press Delete to get rid of that rectangle I've just created. I'm going to use my Selection tool here to actually select the image itself. And, by the way, this image is one that I have placed and then embedded in to Illustrator, but the technique that I'm about to show you right now also allows you to apply strokes to linked images.
Now if you remember before, we actually apply the stroke to this image-- a 10 point-stroke--but it wasn't visible. So we see in our Appearance panel right now that we have the image targeted. We've already applied the stroke, which is 10 points in weight, but we just don't see it because remember, there is no path for Illustrator to apply that stroke to. But our stroke right now is targeted. If I click over here, the stroke is highlighted, so now I've targeted my stroke. Now, I am going to go to the Effect menu and I'm going to choose an option here called Path > Outline object. This is actually an effect that's going to look at the balance of the object itself and outline the object with a path, only it's doing so as an effect. But when I do that, now Illustrator has the information it needs to apply that stroke setting.
The stroke right now is being applied to the object that Illustrator now just created as a Live Effect. So in other words, we told Illustrator, take our image, and yes, we don't have a path that's there, but look at the balance of that object and generate a path that we can use to now display that stroke. So at the end of the day, we can actually apply a stroke directly to an image; we just have to use the Outline Object effect and apply it to that stroke in order to get that stroke to appear inside the document.
Now let's kind of take that same concept and talk about this image right here, because this was, again, something that I created inside of Photoshop and I silhouetted the background here. I kind of got rid of all of the leaves. All I'm left with are the flowers themselves, and I have a transparent background. Now I don't want an outline to appear around the bounds of the entire object here. I would like an outline to appear around the actual edges that I've silhouetted. Well, the nice thing about the Outline Object effect that we just applied is that it can honor the transparency found inside of a PSD file.
Again, this is an embedded PSD that has transparency, but this would also work with a linked PSD as well. So let's repeat the same steps here. In the Appearance panel here, I have my image. I can add a stroke to the image. I don't see anything yet because there's no path that exists, but because that stroke is now highlighted right now, or that stroke is now targeted, I can go to the effect over here, choose Path > Outline object, and now I see a path that has been created, so that I can now apply a stroke around the balance of this artwork.
Maybe I'll increase that stroke weight just a little bit, and now I've created an outline around my image. You know, it's funny. Now that I see that I've added a stroke here, I think I probably could've done a better job silhouetting this inside of Photoshop. But the beauty here is that if I am using a linked Photoshop image, I can simply do an Edit > Original, make changes or adjustments inside of Photoshop, save the file, and when I returned back to Illustrator, the image will update, as will the stroke that's applied to it. So in this movie, we found a great use for the Outline Object effect, which may have seemed like an obscure effect to you before. And perhaps most importantly, we've learned that we can actually apply appearances to images inside of Illustrator.
Get unlimited access to all courses for just $25/month.Become a member
120 Video lessons · 58279 Viewers
119 Video lessons · 67567 Viewers
84 Video lessons · 16857 Viewers
125 Video lessons · 29751 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.