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?
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:
- draw a circle snugly around your star;
- unite all your white lines to a single shape;
- subtract the lines shape from the circle using the Pathfinder;
- ungroup the result...
- ...and make it a compound path: Object > Compound Path > Make or Ctrl / Cmd+8 or right-click > Make Compound Path;
- remove fill and stroke from the compound path;
- select both the compound path and your star;
- choose Object > Clipping Mask > Make or right-click > Make Clipping Mask.
you can achieve the desire effect without redraw your star. using clipping mask and it can work perfectly with rasterized shapes.
- unite all your white strokes (after your convert it to outline) and color it to black.
- cut the united shape CTRL+x
- click on your star and make a mask in the transparency panel by clicking on make button.
- now your star is ready to have a mask
- 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.