The latest version of Photoshop CS4 offers a variety of new features that save time and work. One of them is the newly added Content-Aware-Scaling feature, which automatically preserves important areas like people, buildings, objects, as you resize your images. It saves you a lot of time, since there’s no time-consuming cropping and retouching required anymore. How and why you should use this? That’s what we’ll cover in this tutorial!
Update: You can learn how to use Photoshop in detail in our free Photoshop beginners' course. It's fully updated for all the 2019 features, and it includes a whole video on how to use content aware scale.
Since the release of the Content-Aware-Scaling feature, I’ve always wondered where and how I could use this feature in my projects. After experimenting with it, I realized how useful it is. As mentioned above, Content-Aware-Scaling automatically recognizes important areas of an image, protects them from being squeezed, and does the opposite to unimportant areas by cropping and retouching these. Of course there are limitations, but overall it's a great new feature added to Photoshop. Let's take a look at the details!
First, you need to import an image. In order to use the Content-Aware-Scaling, we need to convert this Background layer to an independent layer. Double-click on the layer, give it a name, and hit OK.
How you can find it?
Make sure your layer is selected. Go to Edit > Content-Aware-Scaling or use the shortcut Command + Shift + Alt + C. The image should now be framed, providing transform handles for adjustments.
As soon as you move the handles, Photoshop will recognize important areas automatically and transform the image properly without distorting the image. There is a limit to this ability though and you'll have to use your eye with this feature. You can protect specific areas better by just using the Marquee-Tools before selecting Content-Aware-Scaling, and we'll review this shortly.
Let's Review the Difference this Makes
Using the Free Transform Tool
This is how an image looks after resizing it to 60% using the Free-Transform-Tool.
Content-Aware-Scaling & Difficulties
As you can see, the mountain and some other areas look good, but there's a problem starting to happen with the boat - it's looking distorted. To a certain point, Photoshop does a great job, but you have to be careful, because sometimes you’ll see distortion in your images. If you want to secure specific areas in your images, you can use an alpha channel to help protect content during resizing. In the next steps, we'll take a look at masking.
As mentioned above, there’s a simple solution to protect important areas in the image, and that's using Masks. There are several ways to create masks or selections and save them as an Alpha Channel. We'll take a look at two of them and we'll tell Photoshop to use these selections to protect image areas from distortion.
Click on the Edit In Standard Mode button or use the Shortcut (Q) to enter the Modus.
Selecting the Sail Boat Using the Brush
I chose a simple brush, used different sizes and painted out the Boat. You can switch between black, gray and white colors to paint or erase your selections. The masking doesn't have to be perfect, but you should make sure the object is selected.
Close the Standard Mode
Photoshop creates a selection using the information from above. We need to invert the selection since we want to keep the boat area. Go to Select > Inverse (Command + Shift + I).
This is how the selection should look now. It's ready to be saved to use it later as an alpha channel. The Content-Aware-Scaling feature uses Channels to protect specific areas in your images.
Polygonal Lasso Tool
Here's another selection I created using the Polygonal Lasso Tool. It's not as accurate as the selection above, but that's OK. There are several ways to create Masks for protecting specific areas in your images. Just experiment with it, until you have a good selection.
Save New Channel
After creating and optimizing our selection, it's time to save the selection as a new channel to later use it for protection. Go to Select > Save Selection.
Save Selection Window
The Save Selection window should pop up. Make sure the Document is set to the current document and the Channel is set to New. Give it a name and hit OK.
New Alpha Channel
As you can see in the image below, Photoshop added a new Channel to the Channels Panel. We can now tell Photoshop to use this Channel as a mask to protect the important area. Make sure you deselect the image area by going to Select > Deselect (Command + D).
Photoshop identified our new Channel and lists it in the Protect drop-down menu. It's set to None but since we want to keep the information of the Sail Boat, choose the Sail Boat Channel. Additionally, you can save multiple selections, which will be later listed in this drop-down menu.
The boat looks fantastic. We resized our image to 60% and preserved the information, but now there's another problem. As you can see in the image below, the island looks distorted. At this point, you should be able to solve this problem yourself. Create and combine multiple Masks to solve this problem. In most cases, you don't even have to create Masks. Let's take a look at other options of the Content-Aware-Scaling.
Content-Aware-Scaling – Option Bar
The option bar provides some additional features like positioning, skin-tone-protecting and more. We'll use some of these options to make sure we keep important objects untouched. Here are a few details on these options:
Reference Point Location
By choosing one of the squares on the reference point locator, you can set the fixed point, which the image will be scaled around. We’ll leave it at the center position.
Use Relative Positioning For Reference Point
Activating this button allows you to specify a new position of the reference point in relation to its current position. In most cases, you can go with default settings.
Photoshop maintains the Aspect Ratio by default, but if you want to change the percentage for the width and height, input your values here.
This option specifies the ratio of Content-Aware-Scaling to normal Scaling (100% Content-Aware-Scaling and 0% Normal Scaling.)
Here you can choose an alpha channel that specifies an area to protect.
Protect Skin Tones
The little person on the far right is the protect skin tones button, which tells Photoshop to pay attention to skin tones in the image.
After resizing your image you can of course Cancel the operation.
Or, Commit the operation.
You can use Content-Aware-Scaling on images in RGB, CMYK, Lab and Grayscale color modes. As far as I know, Content-Aware-Scaling doesn’t affect adjustment layers, layer masks, Smart Objects or layer groups. As mentioned above Content-Aware-Scaling is a new feature available in Photoshop CS4 only.
This tutorial reviewed Content-Aware-Scaling feature: how it works, and how it can save you time when working on your future projects. Here is an excellent video that reviews Content Aware Scaling as well. You should definitely give it a try if you are using Photoshop CS4. You may also want to check out the links below for more information about new features in CS4.
Subscribe to the Psdtuts+ RSS Feed for the best Photoshop tuts and articles on the web.
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post