note 103029 added to function.imagerotate
| From: | kraeh at gmx dot net | Date: | Mon, 21 Mar 2011 17:02:34 +0000 |
| Subject: | note 103029 added to function.imagerotate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178054@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:
$angle=45;
$im=imagerotate($im, $angle, -1);
imagealphablending($im, true);
imagesavealpha($im, true);
----
Server IP: 217.160.235.204
Probable Submitter: 178.27.7.89
----
Manual Page -- http://www.php.net/manual/en/function.imagerotate.php
Edit -- https://master.php.net/note/edit/103029
Del: integrated -- https://master.php.net/note/delete/103029/integrated
Del: useless -- https://master.php.net/note/delete/103029/useless
Del: bad code -- https://master.php.net/note/delete/103029/bad+code
Del: spam -- https://master.php.net/note/delete/103029/spam
Del: non-english -- https://master.php.net/note/delete/103029/non-english
Del: in docs -- https://master.php.net/note/delete/103029/in+docs
Del: other reasons-- https://master.php.net/note/delete/103029
Reject -- https://master.php.net/note/reject/103029
Search -- https://master.php.net/manage/user-notes.php