Pretty thumbnails

Posted by videofun | 6:27 PM | , | 0 comments »

Today's example is about making pretty thumbnails by combining a drop-in shadow with round corners.

The image is first scaled down to create a thumbnail. Imagick::thumbnailImage also strips all the associated profiles to make the image optimal to use in web applications.

The next step is to round the corners of the image. This is pretty trivial task but you should keep in mind that usually larger x and y rounding values give the optimal results when rounding the corners of a larger image. Generally it is pretty easy to find the suitable values by poking around with the parameters and making a formula out of it.

More: http://valokuva.org/?p=45

0 comments