This image compositing tutorial has been updated to account for minor changes in Photoshop CS4. If you are looking for a tutorial on using Photoshop for basic photo editing, please see the Photo Editing tutorial.
First, check out a 30-second video simulation of what this workshop will cover.
Now let's get started. First, click and download the file called photoshop_workshop.zip to a temporary storage space on your computer. From your computer, double-click photoshop_workshop.zip to unpack a folder containing the tutorial files. The following is a listing of the package contents:
|frodo.jpg is an image of the hobbit Frodo, from The Lord of the Rings, whose image will serve as the inspiration for our project.|
|ben.jpg is an image of Ben, who will serve as the subject of our project.|
|finger.jpg is an image of Ben's hand.|
|ring.jpg is an image of a Stanford class ring against a checkered fabric.|
|text.jpg is a sample of that text that was used in the sample project.
STONEHEN.TTF and STORYBOO.TTF are the two fonts used for this project.
|photoshop_workshop_notes.doc is an outline of the tutorial. It lists key concepts to learn, and provides an outline of the image compositing process. The rest of this tutorial details this step-by-step process.|
(Optional) If you wish to install the included fonts:
Launch Adobe Photoshop. When it opens, you should see a blank workspace, with a menu bar at the top, a toolbox on the left, and series of palettes on the right. Select File > New. Name your project and define the dimensions for your project. It is usually advisable to make the canvas the same size as your largest source file.
Select File > Open to open all of the files you need. For your own projects, you will want to get source files with the highest resolution possible, so that your final print elements will not appear blocky and pixelated.
Layers are an essential part of the Photoshop paradigm to understand. Like transparencies for an overhead projector, layers can be stacked, and the elements of a lower layer can be visible if elements on a upper layer are not obscuring it. Layers are a way to help you manage the compositing process. Most of the functions in Photoshop will only act on one layer at a time. This section will merely scratch the surface with regard to layers.
Make sure each source file is open as a new window within Photoshop. To start working with layers, click on the window of each source file, then use Select > All followed by Edit > Copy. Select the window of the working document and use Edit > Paste to insert the source file as a new layer in the working file. Each time you use the Paste function, a new layer is created directly above the layer you had selected.
You can rename layers as you please by using Layer Menu > Layer Properties.
Reorder the layers as necessary in your working file. You can do this by clicking on a layer and using the Layer Menu > Arrange options to move the layer forward or back relative to its neighboring layers.
You may want to turn off the visibility of certain layers temporarily to be able to work more effectively. To do so, click on a layer in the Layers palette, and use Layer Menu > Hide Layers.
Before working on a layer, you may want to duplicate it to have a backup copy just in case your edit goes wrong. To do so, select the layer and use Layer Menu > Duplicate Layer and type in a name for your new copy.
Rename your layers "Ring", "Finger", and "Ben" as appropriate.
Remember that the ring layer should be on top of the finger layer, which should in turn be on top of the ben layer to achieve the intended effect. Rearrange them if necessary.
Hide the Ring layer so you can take a look at the Finger layer.
Select the Finger layer and duplicate it for practice. Delete the duplicated layer before continuing.
Save early and save often by going to File > Save! You may want to do this every time you make a satisfactory change to your project. Use the Edit > Undo and Edit > Step Backward functions liberally. Edit > Undo will keep alternating between the most recent function and the function before it. Edit > Step Backward allows you to go multiple steps back. Take a look at the History palette to see the list of most recent functions you have performed on the document.
Photoshop has selection tools tailored for different selection tasks:
Use the Marquee tool to create a rectangular or circular selection. With a marquee tool, drag to draw a selection border around an object.
Use the Lasso tool for freehand selections and other geometric shapes.
You can select areas of similar color using the Magic Wand tool. (The Magic Wand tool may be hidden under the Quick Selection tool. If so, click and hold the Quick Selection tool until the Magic Wand tool is revealed.) The marquee around the area you click with the Magic Wand indicates that the area is now editable.
Use Select Menu > Deselect when you don't need a selection anymore.
Use the Shift key to add to an existing selection, or the Alt key to subtract from an existing selection.
For selecting complex objects that are sharply delineated against a plain background, you can select the background with the Magic Wand and invert the selection to select the object by using Select Menu > Inverse. Notice that the selection border changes to outline the object.
To soften the edges of a selection, use Select Menu > Modify > Feather and enter the number of pixels along the perimeter of the selection that you want to blur. (Older versions of Photoshop just click Select Menu > Feather.) Blurring the edges is useful when you are trying to combine various elements into a composite image realistically.
With the Magic Wand still active, select the Ring Layer, and then click on some part of the red stone on the ring. It should select nearly all of the stone. If you missed, try again. Try switching to the Eraser tool and dragging an eraser over the whole image to verify that only the part selected by the Magic Wand is affected.
If you are using the Selection tools to select image elements to edit, try using the Select Menu > Modify > Feather setting to give the selection a slight blur. This will make it easier to realistically blend this layer in with other layers after your edits.
Once you have a selection created, you are free to edit the contents within the selection. (Or, if nothing is selected, the entire canvas is available for editing.) For example, you may want to erase unnecessary content. Erasing elements from a layer allows the content of layers below it to show through.
To erase elements, use the Eraser tool.
To change the size and the edge hardness of the Eraser brush, click open the "Brush" popup menu in the Options bar and adjust the Master Diameter and Hardness values.
Remember you can temporarily use Layer Menu > Hide Layers on the layers you are not working on if they are in the way.
Also, try using a softer brush by clicking open the Brush settings in the Options bar and setting the Hardness level to 0. It will enable you to blend objects more naturally together as you extract them from their original backgrounds.
By now, you should have erased or masked out most of the irrelevant content, and are ready to arrange your composition. You can perform transformations and image adjustments on each layer individually. Always remember to select the desired layer in the Layers palette before attempting to adjust it.
To move a layer around on the canvas, select the Move tool then click and drag the layer on the canvas.
To scale, rotate, or warp a layer, use the functions in Edit Menu > Transform. Choosing these functions will result in a bounding box placed around the layer elements, with handles to control the transformation. Hold down the Shift key while clicking and dragging to maintain the original proportions. You can also move the layer around by dragging while in the transform mode. When you have adjusted the layer to your satisfaction, hit the Enter key to commit the change.
To adjust the brightness, contrast, or color quality of a layer, use the function in Image Menu > Adjustments. You can preview the changes before you commit them.
Use the Frodo image to get an idea of your goals.
Try resizing the Finger layer in relation to the Ben layer to match the Frodo composition.
Try resizing and rotating the Ring layer in relation to the Finger layer to match the Frodo composition.
The Healing Brush Tool and Clone Stamp Tool operate on a similar principle: Define a source, then click and drag to "paint" the source characteristics to the destination point.
Adding text is easy. Click the Text tool and click and drag a bounding box for your text. A new text layer will be created. You can adjust the font settings in the Options bar.
Every time you use another tool before using the Text tool again, it will create a new text layer. If you wish to modify preexisting text layers, be sure to have the layer selected, and click on the text while the Text tool is selected.
You're on your own with these ones. Photoshop has hundreds of choices in the Filters menu for you to try out. Remember to select the layer you wish to affect before applying a filter. You may want to make a duplicate copy of a layer before applying a filter, just in case you change your mind later, or if you want to compare effects.
Image adjustments can be done in the same way by selecting the desired layer, then using the functions in Image Menu > Adjustments. Alternatively, you can create an adjustment layer by using Layer Menu > New Adjustment Layer. The power of this function is that the adjustment layer will affect every layer below it, and you can also tweak an adjustment layer whenever you please by double-clicking on it in the Layers palette.
For additional information about Filters and Adjustment Layers, please see the Photo Editing tutorial.
To adjust the layer opacity if you want to make the layer appear semi-transparent so that lower layers can be made visible, use the Layer Menu > Layer Style > Blending Options dialog box. You can see the effect of your opacity settings before committing the change.
To combine layers so that they will operate as a single unit, select the topmost layer you want to merge, and use Layer Menu > Merge Down.
For the most part, it is a good idea to keep layers separate so you can work on them individually. If you want to treat them as a single unit without merging them, select multiple layers in the Layers palette by holding down the Shift key while clicking, and then going to Layer Menu > Link Layers. Now you can move and apply transformations to both layers at the same time.
It is recommended that you keep your document saved as a Photoshop Document (PSD) until you are completely done with the project. And even then, it is advantageous to keep it in the PSD format in case you ever need to edit it again.
However, Photoshop files can be very large, so when preparing the image to give to someone else as a finished product, you may want to use the following guide to determine what file format to export your image as:
If you need to export a "finished" product, you will most likely use File Menu > Save As... and change the format to JPEG (or JPG). Name the file firstname_lastname_tutorial, then click OK. Under the Quality setting, type in 10, and click OK.
When you are ready to print your image, you must first ensure that the document is set to print the way you want. Go to Image Menu > Image Size dialog box.
In general, to retain the best image quality, be sure to uncheck the "Resample Image" checkbox. Notice how this makes the Pixel Dimensions section unavailable for editing.
Under the Document Size section, set the document width and height. Notice how these values are linked, so that your image dimensions will remain proportional when printing. Notice how the Resolution is linked to the Document dimensions. You will probably want to retain a high enough resolution to ensure that the image will look acceptable when printed.
If you want to print an image "as big as possible" while retaining image quality, you may consider setting the resolution first, and having Photoshop calculate the resulting document print size. As a loose guideline, here are some suggested resolutions for particular types of print jobs:
All tutorial materials have been prepared by Kenneth Chan. If you worked through this tutorial as part of a workshop for PWR, please fill out this brief Photoshop Workshop Survey so that we can improve our services! (CS2C Students, please do not take this survey.)
For more project-based learning about this software application, the Adobe Photoshop CS5 Classroom in a Book paperback with companion DVD is highly recommended.