Solved

Illlustrator: crop image to an image shape

Posted on 2009-07-08
6
518 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 30

Assisted Solution

by:captain
captain earned 500 total points
Comment Utility
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
Comment Utility
Youppi, thanks!
0
 
LVL 30

Expert Comment

by:captain
Comment Utility
Thanks :o)

Let us know if you need anything else.

capt.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now