Why is Illustrator's minus front not working?


I have some white lines (converted to path) on top of my star shape (rasterized) as shown in the picture. I am trying to "delete" the white lines from the shape so the shape gaps can be seen in transparent if that makes sense. The rectangle on top right shows what I am trying to achieve.

I tried to select both the star and the lines path and use Minus Front from Pathfinder and although there seems to accept the command nothing happens. What am I doing wrong? Can this also be achieved using clipping masks?

enter image description here

12/17/2014 12:31:00 PM

Accepted Answer

Illustrator can't do Pathfinder effects on rasterised files it has placed.

To achieve this effect, you will indeed have to use a clipping mask:

  1. draw a circle snugly around your star;
  2. unite all your white lines to a single shape;
  3. subtract the lines shape from the circle using the Pathfinder;
  4. ungroup the result...
  5. ...and make it a compound path: Object > Compound Path > Make or Ctrl / Cmd+8 or right-click > Make Compound Path;
  6. remove fill and stroke from the compound path;
  7. select both the compound path and your star;
  8. choose Object > Clipping Mask > Make or right-click > Make Clipping Mask.
12/17/2014 12:53:00 PM

you can achieve the desire effect without redraw your star. using clipping mask and it can work perfectly with rasterized shapes.

  1. unite all your white strokes (after your convert it to outline) and color it to black.
  2. cut the united shape CTRL+x
  3. click on your star and make a mask in the transparency panel by clicking on make button.
  4. now your star is ready to have a mask
  5. in the transparency panel step over the white square, it is the place we draw the mask. and in your artboard past your mask CTRL+F to be pasted in the same place. make sure to uncheck the clip check box.

That's it.