How does the content aware scale work?
Simply put: it takes areas in an image with low resolution and compress them automatically.
Let start with some examples so you get an idea what it can do.
As an example I use a photo made by Kyricom called Hummer.
It is a great looking shot but what if you want the bird closer to the drinking bowl?
You could go making new layers out of the bird, move it closer but then you are left with restoring the image. Letâ€™s use the content aware scale and see to do it with that.
So first task is to open the image in Photoshop, unlock the layer and then go to Edit > Content-Aware scale. Youâ€™ll notice the image gets 8 handles marked with yellow spots below.
You can use those handles to make the image smaller in any direction. What Iâ€™m doing is to shrink the image from the right first.
You notice that the green area between the bird and the bowl is almost gone and the bird is hovering very close to it. Neither the bird or the bowl are being distorded.
Letâ€™s try the same with this image by MnMCarta:
Within a minute we have the dice closer to each other, they are even over each other. And the image is almost scaled horizontally with 50%!
Letâ€™s take it one step further and do it vertically as well.
You see the dice are not harmed and we got rid of the most black space. The final image is about 30% of the original without distorting the dice and cropping the image.
Letâ€™s move on to the next example:
A photo made by Matka called â€˜Two Chairsâ€™. Hereâ€™s the original:
You would think that the content aware scale would do a nice job again but see what happens when we scale it from the left:
What happens here?
As explained before PS uses the low resolution in an image and scales those.
In this example the left chair is not recognized as an object with high resolution.
How do we solve this?
First we need to tell PS not to scale the 2 chairs, we need to use a layer mask.
This is not as hard as it looks.
Select the 2 chairs with the lasso tool, be sure youâ€™ve also selected the â€˜add to selectionâ€™ option so you can make mutiple areas with the lasso tool.
Below I made the selection I made with the lasso tool black for you there should be the ants.
Right click in the selected areas and choose â€˜Save Selectionâ€™ I saved this layer as â€˜Chairsâ€™.
Now go to edit > content aware scale and at the top you see a little pull down menu with â€˜noneâ€™ in it. Pull it down and thereâ€™s your saved layer called â€˜Chairsâ€™, select that one.
Now you can start scaling your image from the left with good results. Photoshop leaves the masked areas as they are and scales everything else surrounding those areas.
This was a short tutorial but I hope you at least understand how this tool works and it might teach you something.