phMagick :: Reflection Effect
$p = new phMagick('source.png','destination.png'); $p->reflection(60,50);
Parameters:
size: the size in % of the reflection
transparency: the opacity of the reflection
result
| original image | transformed image |
![]() |
![]() |
August 9, 2009 by nuno costa 2 comments
$p = new phMagick('source.png','destination.png'); $p->reflection(60,50);
Parameters:
size: the size in % of the reflection
transparency: the opacity of the reflection
result
| original image | transformed image |
![]() |
![]() |
© francodacosta.com - All rights reserved


This is fantastic. Some hosts do not install the API Extension and this does a much better job.
One parameter that you can add to reflection is distance from main image…