Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mikko Koppanen's Blog:
Creating a reflection
Nov 20, 2007 @ 10:20:00

Mikko Koppanen has another example of using the Imagick functionality to create an advanced image - this time, it's about adding a reflection (similar to some of the effects Apple uses in their designs).

Here is a simple example of creating a reflection of an image. The reflection is created by flipping the image and overlaying a gradient on it. Then both, the original image and the reflection is overlayed on a canvas.

Both the code and an example image are included in the post.

tagged: imagick example reflection tutorial overlay imagick example reflection tutorial overlay