2 Replies Latest reply on Aug 3, 2012 10:19 AM by photodrawken

    Tutorial:  Creating, saving and re-using Custom Shapes

    photodrawken Level 5

      I've beeen experimenting with custom shapes for the last couple of days, and thought I'd share some of the tips and techniques I found.


      First of all, what are custom shapes?


      Well, they're vector objects.  That means that they are not built out of millions of individual pixels (like images are), but rather they're a series of mathematical statements that describe how to draw a line from point to point to create the vector shape.  This means that custom shapes are "resolution independent", and that they can be grossly shrunk or enlarged and still retain razor sharp edges, curves and corners.


      What are custom shapes good for?


      Pretty much anything where you want to use a good, sharp object.  In particular, using a custom shape as a clipping mask for an image that's been placed as a Smart Object is an outstanding technique, and really shows off the power that PSE is capable of.


      PSE comes with a lot of ready-to-use custom shapes for its Custom Shape tool, and there are probably hundreds of thousands available on the Web -- just search for "photoshop shapes".  Typically, those shapes will be supplied as Adobe CSH (Custom SHape) files, and simply copying the CSH files into the
      "C:\Program Files (x86)\Adobe\Photoshop Elements 10\Presets\Custom Shapes"
      directory will make them available for use with the Custom Shape tool.


      Sooner or later, though, you'll get the itch to create your own custom shapes.  Out of the box, PSE does not have the capability to let you create custom shapes and add them to the CSH files like the "big" Photoshop does, so we'll need to use a workaround:  store your custom shapes as layers in a PSD file, and when you want to use them simply copy them into your image. 


      N.B.:  To create custom shapes you'll have to use the reasonably priced Elements+ add-in:


      So, the procedure goes like this:


      1. Create a new image, using the PSE defaults, and save it as "CustomShapes01.psd", keeping it open.
      2. Open an image containing an object that you want to use as a custom shape.
      3. Use any of the selection tools to make an accurate selection of the object:
        Jennifer Aniston 07 selection.png
      4. In the Effects panel, use the Elements+...Paths effect and choose the Create New Path...From Current Selection:
        Ep path from selection.png
      5. Use the Elements+...Paths again, choosing "Convert to Shape", giving it a name and colour of your choosing.  This will create a Shape Layer using that name.
      6. Important:  If your shape has "holes",
        use the Shape Selection tool and click on the shape to select it.  Then hit the "Combine" button in the Options Bar.  This will combine all the individual shapes used to create the shape and its "holes" into one shape, and prevent beaucoup problems later.
      7. Switch to the Move tool and drag the shape onto the tab of your "CustomShapes01.psd" image, keeping your mouse button pressed.  That image will become activated and you can move your cursor onto the image itself and drop your shape onto it.  Your PSD file will now have your custom shape as a shape layer:
        shape layer 01.png
      8. Save that "CustomShapes01.psd" file.


      You can repeat the process for as many custom shapes as you want, and they will each become a layer in the "CustomShapes01.psd" file.


      To use your custom shape, open the "CustomShapes01.psd" file and your target image and do the drag and drop with the Move tool to copy the custom shape onto your target image.


      I mentioned that using a custom shape as a clipping mask for an image placed as a Smart Object is a very powerful technique.  It's powerful because the custom shape can be altered at any time and still keep its sharpness, and because the Smart Object can also be resized without becoming pixellated.  Of course, that custom shape layer can have any number of layer styles applied to it and those layer styles will "follow" the shape if the shape is moved, resized or rotated.


      Here are three examples of using the custom shapes as clipping masks for Smart Objects:


      In this example, each custom shape is used as a clipping mask for an image Smart Object, as usual:

      individual clipping masks.png


      Here, one custom shape was used as a clipping mask for an image Smart Object and they were linked. 

      clipping masks linked layers.png

      Then the shape and image were duplicated and moved, rotated and resized.  Because of the linking, the Smart Object automatically kept its orientation and size relative to the custom shape throughout:

      linked clipping masks.png


      If you want to use custom shapes as a "combined" clipping mask, the procedure is a little more complicated because you need to get all your custom shapes on one shape layer. 

      overall clipping mask.png

      So, after copying your shapes into the target image (as separate shape layers), use the Shape Selection tool to select one of the shapes.  Using Edit...Cut will cut that shape layer to the Clipboard, and you can select one of the other shape layers and use Edit...Paste to paste the custom shape into that shape layer.  Repeat as necessary, and you will get all of your custom shapes on one shape layer.  Then use that single shape layer as your clipping mask:

      clipping masks combined layers.png

      The neat thing is that the individual shapes can be selected with the Shape Selection tool and independently moved, resized or rotated as necessary.