Created
July 13, 2012 20:29
-
-
Save bobmagicii/3107242 to your computer and use it in GitHub Desktop.
Setting image opacity in Imagick (bad result)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$img = new Imagick('input.png'); | |
$img->setImageOpacity(0.25); | |
$img->writeImage('output.png'); | |
$img->destroy(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment