note 52288 deleted from function.imagerotate by danbrown
| From: | danbrown@php.net | Date: | Tue, 02 Dec 2008 15:01:00 +0000 |
| Subject: | note 52288 deleted from function.imagerotate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147539@lists.php.net to get a copy of this message | ||
Note Submitter: jmichel at faeryscape dot com
----
Imagerotate apparently destroy transparency information (transparent areas turn to black). For now
the only walkaround I found is to use :
imagecolortransparent($image,imagecolorat($image,0,0));
but the result is quite awful if your original picture uses smooth transparency (which is probably
the case with PNG pictures)