Advertisement


Trim a Clipping Mask in Illustrator?


Question

Is it possible to trim a clipping mask in Illustrator? I have an image that I created a mask for, but the entire image is so much larger than the space I need, I would like to crop the rest of the image to the mask.

Basically, I need the same result as in Photoshop when you Right-click > Apply Mask.

This is what I'm after

2013/09/03
1
18
9/3/2013 8:41:00 PM

Accepted Answer

Assuming all artwork is vector and not placed raster images...

  • Select the image with the mask
  • Choose Object > Expand Appearance if Expand Appearance is available
  • Choose Object > Expand
  • Click the Crop button on the Pathfinder Panel

This should trim the artwork to the boundaries of the clipping mask shape. It will leave unfilled objects in some cases, so to clean up I also generally...

  • Draw and unfilled, unstroked rectangle
  • Choose Select > Same > Fill & Stroke
  • Hit the delete key.

Or you can deselect everything and use Object > Path > Clean Up. Just be aware of the clean up settings. If you have other objects with masks, the Clean Up command may cause issues.

Additional based on sample image....

(Image was added after I typed the above, so I left it.)

You've got a raster image there. There's no way for Illustrator to crop a raster image. None. However, you can use the Rasterino plug in from www.astutegraphics.com to crop raster images within Illustrator.

(the astute web site seems to be very, very slow at the moment)

2013/09/03
17
9/3/2013 8:57:00 PM