Skip to content

Instantly share code, notes, and snippets.

@bobmagicii
Created July 13, 2012 20:29
Show Gist options
  • Save bobmagicii/3107242 to your computer and use it in GitHub Desktop.
Save bobmagicii/3107242 to your computer and use it in GitHub Desktop.
Setting image opacity in Imagick (bad result)
<?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