Often images are short on background. Many times, a client will send in an ad with the image placed off to one side so that one portion of the image does not fill the full crop of the ad. I think they do this because they can! Needless to say, it will often be necessary to rework the supplied image to fill the needs of the client's ad. Or, on occasion, the image may fill the ad, but an extra image may be needed to satisfy the printer's needs in the form of bleed. In this section, we'll discuss ways to create "more" background.
Figure 4-40. Applying incremental levels of opacity helps achieve the final effect of our swinging hammer
One of the easiest ways to extend a background is to simply make a selection of as much of the background as possible, and then use the Transform function to stretch out the background until the desired crop is met. Let's say we started with the image Figure 4-41.
Next, add to the canvas size on top so we have room to extend the background, as in Figure 4-42.
Then we'll select the sky, as shown in Figure 4-43, and using the Transform tool, extend it to fill the area we've created.
The final look of the image with the background extended can be seen in Figure 4-44.
Previous example? Simple. But this is assuming, of course, that the background lends itself well to this kind of stretching. If you have a cobblestone road or a row of bricks, then it will look quite odd if you simply stretched the background. One way to extend difficult backgrounds is to do it the old-fashioned way and clone the background, but in the case of our next example, a row of bricks, the perspective makes it very difficult to simply clone.
Let's say we have the image in Figure 4-45 and we want to extend the row of bricks to fill the white space indicated.
The first step is to adjust the bricks so they look like a nice, straight row of bricks. Select the bricks and use the Distort function of the Transform tool to adjust the bricks until they are straight, as in Figure 4-46. You may want to put in some guidelines to help you make sure they are straight.
Then, start cloning the bricks to fill the area, as shown in Figure 4-47.
When you are done cloning, distort the bricks back to the original shape, as shown in Figure 4-48.
The idea is to continue the flow of the lines as they had started in the original image. You can draw guidelines on a layer if you find that will help you, but I align the perspective visually. As the road gets closer to you, the bricks or stones become larger, and as they get farther away, they appear smaller. You can see the final result in Figure 4-49.
Photoshop CS2 gives you another option to consider when trying to extend an image with a problematic background, the Vanishing Point filter. The Vanishing Point filter basically allows you to set up a grid on an image that matches the perspective of the image. As you brush or copy part of the image in an attempt to fill the image area, the perspective of your efforts are magically maintained as they follow the perspective of your grid.
Figure 4-50 shows our brick image again. The image has had the necessary image area increased with the canvas size to fill the needs of the crop. The white space represents the amount of area we need to fill up with image.
Once you have your RGB image with appropriate canvas size set, access the Vanishing Point filter, Filter → Vanishing Point. You are now presented with the Vanishing Point filter window, as shown in Figure 4-51.
Note
The Vanishing Point filter can be used only on an image in RGB mode. If your image is not in RGB mode, you will have to convert it at this point to call up the Vanishing Point filter. You may also want to use a duplicate of the image or create a duplicate layer of your image in case things don't work out the way you have planned!
Select the Create Plane tool button, the second button from top left tool set. The first thing we have to do is create a grid over our image that matches the existing perspective of the bricks in our image. Obviously, the bricks are smaller to the right of our image and, as they get closer to us, they become larger. The grid button is the second button from the top of the tool set on the left side of the interface, as indicated in Figure 4-52.
You get four points to draw with. Click on the image, and a new point is made for a total of four points. You can manipulate these points once your grid has been drawn with the Arrow tool button at the top of the tool set and move the points in such a way that they match the perspective of the image. This is a very important step to get the grid matching the perspective as accurately as possible. If the grid is off, you have less chance of getting an accurate look to your image, so spend some time getting it right. It won't be necessary to make the grid the full size of your image yet, as you will resize it later. You make the grid smaller than the full image so that you can make sure all four points are visible as points of reference on the image.
Once your grid has been made, you will want to resize the grid so it covers the entire image. The resizing of the grid is done by using the Arrow tool, grabbing the midway points on the grid lines, and clicking and dragging them to the desired size. As you can see in Figure 4-53, don't grab the corner points, as you will change the shape of the grid! Figure 4-54 shows the grid adequately resized.
There are a couple of ways to extend the image. The first way is to use the Stamp tool. The second way is to use a selection and duplicate large chunks of the image to fill the needs of the image. We'll start with the Stamp tool (Figure 4-55).
Figure 4-54. The final look of our grid once it has been completed and resized to fill out the image
Take note of the green Xs that indicate the alignment in Figure 4-56. This is very important, as you will clone and repeat the wrong portion of the image if the alignment is off.
Once your alignment is set and you have selected your brush size, opacity, and hardness as you would for any other brushing you would do in Photoshop, you can begin brushing. Kinda cool, eh? As you can see in Figure 4-57, as you brush, the perspective of the Stamp tool changes to match the perspective of the image!
Figure 4-58 shows the final brushed image extended with the Stamp tool.
The other method for extending an image is to use the Marquee tool. Once you have your grid, start by making a Marquee selection containing the largest possible image area (Figure 4-59). (You don't want to grab the white area, as it will be included only when you paste in this new selection section.) The Marquee tool will follow the perspective based on the grid you made.
While holding down the Option key, drag the selection area to an area of the image that needs extension (Figure 4-60. Placement is important. Notice how the selection changes quite dramatically as you move it around. As soon as you let go of a point, the adjustment takes effect. You do have an undo (Command+Z) if you have to undo your adusjtment.
If necessary, use the Transform tool to fine tune the placement of the selection. (The Transform tool is the sixth button down on the Vanishing Point tool set.) Nodes will appear on the selection, and you can make adjustments from these points. Again, as soon as you let go of a point, the adjustment will take effect. Not bad, but you can see in Figure 4-61 that the black lines inside the bricks are a little off the correct perspective.
I have found that adding selections can be difficult, especially in the case of the bottom portion of this image. If you go back in and make a Marquee selection of an area and try to fill another area of the image, you may run into difficulty. I won't lie to you and say it works like magic there is a lot of fiddling around to do. You may want to visit each method I have discussed for extending a difficult image like this and see which one work best for you.
Get Commercial Photoshop Retouching: In the Studio now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.