Hi Goose.
Stroker writes some great stuff but he really Jumps in at the deep end. I tried reading his links but it just went way over my head.
This link is far more novice friendly and gives enough information to get this job done.
http://www.thegoldenmean.com/technique/displace1.html
I really want to learn about this filter as it is going to be useful with my next little project (Brush Strokes)
Here is a little summary of what I think I have learned so far. From Goldenmean, Worth and Stroker. I hope someone will correct me if I’m wrong.
A D-Map is a PSD file which will manipulate the pixels in another file.
Black moves pixels to the right and/or down. White moved pixels left and/or up
Mid gray in the D-Map produces no movement.
Channel one (Red) produces horizontal movement
Channel Two (Green) produces Vertical movement
The blue channel has no effect.
Goose wants to make a gradient going from no shift at the left to maximum shift at the right. Therefore you will need to construct a D-Map going from mid grey to black
You will only need channel one (Red) as you do not need to change the height.
I tried using your example but it was confusing because there is no reference. So I used a ruler (Courtesy of Stock Exchange)
If you want to play along please download 296245_8226.jpg (Attached)
Step 1.
Open 296245_8226.jpg. Click the channels. Fill the Blue and Green channels with 50% grey as they are not needed.
Fill the red channel with the gradient. Grey at the left and black at the right.
This should give you an image like in my attachment. (converted to jpg)
Save this as 296245_8226DM.PSD. (must be a PSD)
We now have our D-Map.
What we need to do now is enlarge our canvas to make room for the enlarged image so that it won’t get clipped.
Step2.
Open 296245_8226.jpg
Copy it to a new layer. Now go back to the bottom (background layer) and enlarge the canvas size.
Set the background colour to mid grey
Image > Canvas Size
Make the new canvas size 11 Inches Wide which will give plenty of room.
Anchor the picture at the left as we are expanding to the right.
You should have something similar to my attachment.
We are now ready to apply the D-Map.
Step 3
Select (click) the top layer
Filter > Distort > Displace.
This brings up a box and the settings are important.
Horizontal Scale (this will control the effect we want) Set it to 300
Vertical Scale. Set to 0
Stretch to Fit Checked
Repeat Edge Pixels Checked
Click OK and navigate to 296245_8226DM.PSD
And there you Go!
You should now have something similar to my last attachment
A Gradually stretched Image.
I hope this helps. I have certainly learnt a lot from this.
Any questions. Just ask and I’ll learn some more
Stroker where is that rock? This is really simple stuff to you but to a novice (me) it’s heavy going to start with.
Ken