Solved

Illlustrator: crop image to an image shape

Posted on 2009-07-08
6
526 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

789 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