Transfer the shadow of an object on white paper to ruled paper

I have taken two photographs:

  1. a hand holding a pen and writing on a white paper
  2. a sheet of paper with lines

Both photographs have been taken from the same camera angle (using a tripod), with the ruled paper placed in the same position as the white paper.

I now want to copy the two images into each other, making it appear as if the hand had written on the ruled paper. The end result should look something like this:

enter image description here

My photographs are completely sharp, so it is easy to cut out the pen, the hand, and the written text from the background of the white paper and overlay it on top of the ruled paper. The problem is the shadow of the pen and hand.

How do I need to set layer effects, or what else do I need to do, to make the white paper transparent and have the shadow appear on the ruled paper?

I’m working in Photoshop CS 5 on a Mac, if that matters.

I’ve tried the method described in the accepted answer to this related question, but this results in a light grey blur overlaying the lines. Using the technique in the linked answer, it seems as if the lines disappear in the shadow. Or in other words: the shadow darkens the paper, but not the light blue lines.

No, I cannot write on the ruled paper and photograph that. Don’t ask why.


An old question seemed to raised on top by the system. Maybe one answer still is needed. Here it is.

Obviously the questioner has compatible images. That means:

  • both have the wanted final resolution or more
  • the papers can be put to fit geometrically with minimal distorting jobs
  • the ruled paper has no own shadows
  • both have good exposure and acceptable white balance (the ruled paper can be black and white)

Here are two shots that are compatible:

enter image description here

At first there were 2 background removals. The ruled paper and hand with the pen are needed separately. The plausibility of this fraud is lost totally, if the hand and the pen aren’t separated surgically. I used the quick selection tool + fixed the edges with the polygonal lasso. As well I could have made a clipping path – so inaccurate are all automatic methods.

At the bottom there’s the Writing on the white paper layer. It has a dedicated curves adjustment layer. The purpose is to lift the paper as white as possible without losing the writing nor the shadows.

The next layer is the ruled paper (in my case the squared paper). The blending mode = multiply. The idea is to darken the writing layer with the squares. Multiply does not make anything brighter, only darker. So there’s added also a dedicated (=pointed to single layer) curves layer to keep the paper white, but the squares dark enough.

On top there is the separated hand with the pen.

Here’s the result until this:

enter image description here

If we temporarily disable the contrast boost of the writing layer, the shadows get lost under the squares:

enter image description here

So, we keep the contrast, but it’s not ready. Altough the squared paper was dragged to optimal position, the edges do not fit.

The easiest fix is to clip all to straight and clone the background or white paper to fill the holes. The squared paper is quite straight and larger than the white paper, so that was done. Here’s the result:

enter image description here

Another fix is to warp the paper edges to fit. I tested it. In the following screenshot the warping is done to save the bended edge.

enter image description here

Actually the squared paper is warped, the white paper was expanded by cloning and partly clipped off + replaced with cloned table.

Source : Link , Question Author : Community , Answer Author : user287001

Leave a Comment