Take the 2-minute tour ×

I want to transform photos in python to look like this:

a paper printed-like pic taken from doctype.com

I will use it in django, PIL is installed.

How can I achieve this?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I've had a bit better luck with ImageMagick when it comes to more complex transformations. You would have to install it separately and though there is a python library it doesn't appear well documented so I've just used command line calls.

Here is a good tutorial on warping image: And another tutorial on general use

The drop shadow is probably just a second image which is composited with the first image.

share|improve this answer

This is a combination of several subtle effects. It starts by a nonlinear deformation, and then a tasteful drop shadow is added. There's also a small border. I'd start by drawing one straight, vertical line on the above picture, and then seeing how you would transform to that from the original picture. Then, apply that transformation to the whole photo, add some drop shadow, and figure out what else is left...

share|improve this answer

Your Answer


