An example of using Imagick::setImageOpacity()
<?php/* Create the object */$image = new Imagick('source.png');/* Set the opacity */$image->setImageOpacity(0.7);/* output the image */header('Content-type: image/png'); echo $image;?>