Solved

Illlustrator: crop image to an image shape

Posted on 2009-07-08
6
524 Views
Last Modified: 2013-12-25
Hi,

I need to learn how to "crop an image" according to another image, in illustrator.  It is hard to explain in text, so please refer to the image below.

You see the star in the image?  I would like to have an image that have everything outside the star removed.  A function that I would select an image and do something like "remove everything outside this vector".  So the result would be the star, with it's content and it's stroke, with the rest as transparent backgroud, so do do a png.

Please let me know if you have questions!  Thank's a lot!  I've been missing this knowledge for years, now!

It seems
example-jpg.jpg
example-ai.pdf
0
Comment
Question by:ThanksWelcome
  • 4
  • 2
6 Comments
 
LVL 30

Accepted Solution

by:
captain earned 500 total points
ID: 24804482
Hi

If you want to do this you create what is called a 'Clipping Mask' for an Object. You need to place all your objects to be 'clipped in a group. Then take your star and make sure it is in front of the group.

Now either use the Object menu => Clipping Mask>Make or press CTRL+7 to apply the mask.

hth
capt.
0
 
LVL 30

Assisted Solution

by:captain
captain earned 500 total points
ID: 24804504
btw, if you want to release the mask you can do this from the same menu or use CTRL+SHIFT+7.

To align objcts within a clipped group you can use the 'Direct section too' (small hollow arrow top right of the toolbar) and move the objects individually without disturbing the whole group.

hth
capt.
0
 

Author Comment

by:ThanksWelcome
ID: 24804607
Hi,

Wow!!!  I've been trying to do this for so long!  There is just one thing though:  The star stroke disappeared.  Do you know what I should have done to my file before clipping so that I would not have lost it?

Thank's again!
exampleClippedWithoutBorder.jpg
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 30

Assisted Solution

by:captain
captain earned 500 total points
ID: 24804666
Hi

yes it is designed to remove the stroke by default, simply use the Direct selection tool to select the star only and then apply the stroke again and you are done.

hth
capt.
0
 

Author Closing Comment

by:ThanksWelcome
ID: 31601124
Youppi, thanks!
0
 
LVL 30

Expert Comment

by:captain
ID: 24804768
Thanks :o)

Let us know if you need anything else.

capt.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about why website design really matters in today's demanding market.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
In this tutorial viewers will learn how to apply a non-rasterized, vector-scalable texture to a vector using opacity texture masks in Illustrator Open a vector in Illustrator. Black and white vectors work best, but this effect can also be used to ad…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question