setImageOpacity -Imagick : Image Create : Graphics Image PHP Source Code


PHP Source Code » Graphics Image » Image Create »

 

setImageOpacity -Imagick


<?php
/* Read test png image */
$im = new Imagick"test.png" );
/* Set opacity to 0.5 */
$im->setImageOpacity0.5 );
/* Output the image */
header"Content-Type: image/png" );
echo 
$im;
?>


HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Graphics Image
» Image Create