Here, on this site, are often preview images shown beside the questions which are warped and with an background shadow.

How is this effect achieved? PHP?

Regards,

1 answer

2
points

Paul Farnell said:

To generate the initial screenshot of the page we use the same technology we built for Litmus. It renders the URL in a browser and captures a screenshot. This takes just a few seconds.

The resulting image is then passed through an ImageMagick to create the 3D effect. We use a command line Ruby script to control ImageMagick. Here's the script in its entirety:

http://doctype.com/aZV

Answered almost 8 years ago by Tony Crockford