note 103029 modified in function.imagerotate by thiago

From: Date: Mon, 21 Mar 2011 17:14:41 +0000
Subject: note 103029 modified in function.imagerotate by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-178057@lists.php.net to get a copy of this message
I had a problem with a png image containing transparent colors, but found a solution that works for me. So i thought i might share it: <?php $angle=45; $im=imagerotate($im, $angle, -1); imagealphablending($im, true); imagesavealpha($im, true); ?> --was-- I had a problem with a png image containing transparent colors, but found a solution that works for me. So i thought i might share it: $angle=45; $im=imagerotate($im, $angle, -1); imagealphablending($im, true); imagesavealpha($im, true); http://php.net/manual/en/function.imagerotate.php

« previous php.notes (#178057) next »