At once challenging and wondrous subjects, birds are fast, elusive, biologically diverse, and can be stunningly beautiful. “There are about 10,000 species of birds in the world, and their range of behaviors is very wide,” says William Majoros, a North Carolina–based scientist and avid bird […]
Smart scaling with Content-Aware Scale
New to Photoshop CS4 is its Content-Aware Scale tool which allows you to transform an image in a way that you’ve never been able to do before in Photoshop. The technology itself has been around for some time and you may have been familiar with the website rsizr.com which offers content aware scaling as an online service. However, the feature is now built into Photoshop making it a readily accessible tool for images large and small.
In this post, I’ll explain how to use content aware scaling and how to protect areas of your image from being distorted in the process.
To see the tool at work open an image in Photoshop CS4 (this feature is not in other versions of Photoshop), double-click the background layer to turn it into a regular layer and choose Edit > Content-Aware Scale.
Notice the sizing handles on the image. Drag from one side inwards and watch what happens as you do so. You’ll find that the image shrinks in size, but most of the information in the image is still there – the image is made narrower but key elements in it are not squashed up.
If your image includes people, click the person indicator on the toolbar so that it is not pressed in – when the indicator is flush with the toolbar the option is selected. This protects people by recognizing skin tones and ensuring that they are not distorted by the effect.
You can also protect elements in the image using an alpha channel mask. This technique is handy if you have areas of the image that you want to retain at the expense of other areas and it can also be used to protect people in the image.
Make a rough selection around the area that you do not want to be affected by the scale effect. A good tool to use is the Lasso tool – select an area and hold the Shift key to make a second selection over another area, if necessary.
Choose Select > Save Selection, type a name for the selection, such as detail mask, make sure that the Channel is set to New and the operation is set to New Channel and click Ok. Press Ctrl + D (Command + D on the Mac) to deselect your selection.
Now choose Edit > Content-Aware Scale and from the Protect dropdown list on the toolbar, select the mask you just created. Scale the image and notice that the masked areas are protected from being damaged as the image shrinks in size.
Content-Aware Scaling is a handy way to change the aspect ratio of an image. For example, you can turn a landscape image into a square image and close up the space between people in a photo if they are a long way apart. It also works in reverse and you can use it to make an image larger. You may need to do some work with the clone tool to repair small areas of the image damaged as the result of the scaling but typically the tool does a very good job.
After many years as a keen amateur photographer, I decided to start a small landscape photography business called Lakescenes which I ran alongside my main job as an IT Manager. As business increased, I found myself working long, but rewarding, hours just to keep up […]
Rob Sheppard is a naturalist, nature photographer and videographer who says his favorite location is the one he is in at any time. He is the author/photographer of over 40 books, as well as a well-known speaker and workshop leader, and a Fellow with the […]
Gary Hart has photographed California’s natural beauty for over 30 years. Gary’s photos and writing have appeared in many publications, most recently Outdoor Photographer and Sierra Heritage magazines. You’ll also find his images in greeting cards, postcards, calendars, and many galleries and private collections throughout the world.
Originally from Poland, based in London UK, Jaroslav has background in Fine Arts, degree in Architecture, and wide array of experience. Being an Architect taught him how to be resourceful and to solve complex problems with simple, yet innovative solutions. Constant passion for graphic & […]
There are few experiences as exhilarating as trekking in a mountainous landscape. A few years ago I did a three week long trek in the Himalayas, walking a circuit of about 300 km. As you can imagine, it was a huge experience, both physically and […]
I’m continually astonished at how small things can have a big impact. Take the humble comma for instance. The placement of this relatively insignificant little mark can make all the difference to how legible a sentence is. Not adding a comma into the relevant place […]