Hi, I'm trying to clip this image as an example.
When I originally made the outline using the pen tool, the two sandals on the right are their own path. Then I made separate paths for the sections underneath the straps. I selected all of the paths and made them compound paths, then selected everything (paths + image) and made the clipping mask to create what you see now. How come it did what I wanted with the sandal on the left, but not the ones on the right?
The section under the left sandal is a separate path as well as the other sandals. So, what is the difference and how do I fix this?
As far as I know, once the clipping mask has been made you can't add additional clipping masks on top.
I would prefer staying in Illustrator than Photoshop just as a personal preference.
All paths have a direction.
All subpaths of a Compound Path have direction.
The subpaths of Compound Paths are governed by their winding direction in combination with their fill rule (Even/Odd or Non-Zero).
The same applies to paths in Photoshop, and the same behaviors occur in Photoshop if you don't have the winding direction and/or fill rule of the paths set correctly.
First: Make sure that all four subpaths are closed.
Then, make sure that the winding direction and fill rule are correct. In Illustrator, you control this in the Attributes palette.
I'm not sure how to diagnose the paths properly.
I would assume they are closed, but I'm not sure how to confirm that.
Also, I'm not sure the differences in the fill rules/winding directions and how to set it up so that it does what I would like.
Any further advice would be appreciated.
diagnose your paths with the document info panel.
Read about fill rules in the manual:
My working method would be to first outline and identify all the areas that I want to clip, and then create one compound path which I will use to make a clipping mask only once. You can't add a normal path to a compound path once it has been used for a clipping mask.
If you anticipate that you would have to add to the clipping mask at a later stage I would create a compound shape rather than a compound path with the outlines (hold ALT while clicking on the Unite option in Pathfinder). I would then create the clipping mask with the compound shape. If you look in the layers panel you will see that you can easily drag an object added at a later stage into a compound shape, which will immediately add it to the clipping mask.
That actually seems a lot easier to do.
I am mainly curious now how/what I should be doing differently in my process.
Should I still be using the pen tool to "outline"?
Making a clipping mask of an image that doesn't have multiple aspects is simple enough with just one outline made with the pen tool.
The issue is with multiple components in one image. How do I create a compound shape versus a path? Let's say on the image provided, I have separate outlines (made with the pen tool) on the separate components, aka the main sandals + the space in between that I wish to clip as well.
Once I have those outlined with the pen tool, I then select all/both of the outlines and Unite them in the Pathfinder? That automatically makes the compound shape?
And by later stage, you mean if I wanted to clip something completely separate from the image, I'd just drag it in to the compound shape? I'm not sure what you meant by that.
Sorry for all of the questions. I just want to be clear about the process and to make sure I'm doing it correctly and efficiently.
I appreciate all of your help and everyone else who has contributed!
In Illustrator there are always numerous ways to get the job done. For instance, you could have used an opacity mask to mask out the unwanted areas as well. Some techniques might be better than others, but as mentioned in the previous reply I would make use of compound shapes and then create a clipping mask.
1. I would start by creating all the paths. This includes outlinining the shoes as well as all the little areas between the strap and the shoes. If you think ahead you will agree that these areas will need to be SUBTRACTED from the outlines of the shoes - because you are forming a 'cookie-cutter' shape to clip with. In my example below the outlines of the shoes are red, and the little areas that need to be subtracted are yellow (I did the pen-work very fast - please excuse ).
2. Now you need to create a bottom compound path (because there are two separate paths outlining the 3 shoes). So select the two red paths and go to your Pathfinder palette. To create a compound shape you need to hold in ALT while clicking on the UNITE mode:
3. Now to subtract the yellow parts from the bottom compound shape. Select ALL the paths (including the bottom compound shape), and hold down ALT while clicking the subtract mode:
4. You should now see the completed compound shape (all the areas should now have a red outline):
5. Now go ahead and select the newly created 'cutter' path, and make the clipping mask:
6. So, if I later want to add to this compound shape that is acting as the clipping mask, I can just create the shape I want to subtract (e.g. the red circle on the left shoe), and drag its layer into the compound shape layer group using the Layers Panel:
7. Now it's part of the compound shape and you just have to set the mode by ALT clicking on the Subtract mode in the Pathfinder panel again.
Like I said - this is the way I would have done it - but there may very well be a lot of different opinions!