today we're looking at how we can use the Photoshop content aware scale tool
to repair problems like this one on the screen now I shot this panoramic
recently in Scotland and the sunrise was absolutely wonderful but it doesn't
appear how I want it if you look the Sun isn't in the center of the frame when I
shot it I was using a twelve millimeter lens and I've actually taken three
frames which are then stitched together and that results really in the Sun not
being in the center but it was also a bit of a problem because there wasn't
anything on the left of the frame to include there now what I could do he's
tried to crop this so that I get the the Sun into the centre of the frame and if
I do that which is roughly around there what you see is that we lose the
elements on the right of the frame which were helping contain it so I definitely
don't want to use that method what I'd want to do instead is actually extend
the left side of the image so that it appears that the Sun is in the center of
the frame and that the left side went on further now the several ways you can do
this but we're going to start with the content to where scale tool the first
thing I want to do is if I select the image using the crop tool I can now
extend the canvas behind the image by stretching it over to the left so I can
see that that gets my son into the centre of the frame and what we get here
now is a white canvas appearing behind the image
now the other way of extending the canvas is actually using the canvas size
option here what you've got is that the image actually sits on the canvas and
you can either extend the image or you can actually extend the canvas without
moving the image and that's what this tool allows you to do but we've already
done it it's quite easy with the crop tool the next thing I'm going to do is
I'm just going to duplicate my layer so I'll press command + J if you're using a
PC that's ctrl + J then I'm going to actually use the marquee tool we'll just
use a square one and I'm going to select the area of the image that I want to use
in the repair so at the moment if you look at this I've actually selected the
left side of the image but I've stayed away from the Sun the starburst around
the Sun and also this reflection in the water I'm also working on a new layer
here that I created just so that we preserve the background layer now I can
actually go to my content aware scale tool which is under the Edit menu and
select content aware scale that will convert my selection into content that I
can no scale now if you look up here what you've got is this option to lock
the aspect ratio now for some reason if I click the unlock it still doesn't work
so you'll notice that it's scaling both the horizontal and the vertical so the
easy way to fix that is simply go back to setting the horizontal to be a
hundred percent where the width is then at the new percentage I've clicked the
accept button there and photoshop's booked it's magic
so I'll just deselect that and actually what you can see is a really good
extension if we turn that off you can see that it's extended the rocks here
and it's like so extended the clouds and the sea are these made a pretty good job
of it so let's actually take a closer look so if i zoom in to 100% and I no
scale over to the left I can see the sky looks absolutely wonderful and Assis
looking Gert and when I come down to the rocks at first glance they appear quite
good as well but I can actually see areas of softness here and around here
so let me just zoom into one of those in a little bit more detail so I'm now at
200% and if you look here you can actually see that it's distorted the
image so the rocks are no longer looking sharp like they do here and that
distortion actually has taken place in several places I can see it again in the
grass here where we've got some distortion and the rock there and if I
move further over I can also see it to some degree in the rocks here now this
is one of the limitations that you get with this content to where scale tool
Photoshop will actually create a seamless extension where there's a nice
clear background but we've got rocks coming into the frame so it's struggling
to find areas that it can use to extend the image and what he's trying to do is
find areas where it doesn't think there's any detail but because the
details so finding this rock it's making mistakes
so we'll just rename that layer and we'll just say content aware scale now
I'll turn that off and we'll repeat this now so first off I'm going to duplicate
the layer and I'm going to know select the area that I want to X using the area
I want to use in the extension so that's my marquee tool selecting it this time
what I'm going to do is use the traditional transform tool if I go under
edit what I'll find is transform and I'm now just going to take distort now what
the distort option allows me to do is just distort along either a corner which
will go a diagonal distortion to the heightened width or I can extend the
height by using these two options or I can distort the width on left by using
this option and that's I'll do so that's the distortion now and
I'll select that so what's happened in this one I'll just deselect the
selection what's happened in this one is that we've actually distorted evenly
across the entire frame we'll just zoom that date so unfortunately our left a
little edge on that there but that's not to worry we can easily crop that out
let's this time going to 100% as we did before and this time the rocks look
sharper and again over this side they look sharper and the grass also looks
natural as well so let's zoom in on that and you can see we're at 200% the grass
is nice and sharp the rocks here a nice and sharp and if we come over to the
left where we saw the biggest problem last time the edge of the frame here is
actually nice and sharp so let's compare that result with the
content aware scale you can immediately see when we use the content aware scale
that it's distorted the image less but it's actually created distortion in
bands where it thinks there's no detail
now which one do you use well for me with an image like this because I've got
an area extending here that I want to keep sharp I'm going to use the standard
transform tool but in areas like this if I had an image that was just sea and sky
I would actually be using content to wear scale because it makes a great job
but either way you've got two options there that you can use to fill in the
detail of an image so let's just crop that little white edge off there now
as you can see we've now got our finished image with the Sun bang in the
centre and that's an absolutely great panoramic landscape I hope you found
that useful I'm Robin Whalley you've been watching Lenscraft I'll see
you next time for another video