note 92286 deleted from function.imagerotate by cmb
| From: | cmb@php.net | Date: | Mon, 22 Aug 2016 09:40:26 +0000 |
| Subject: | note 92286 deleted from function.imagerotate by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206359@lists.php.net to get a copy of this message | ||
Note Submitter: jeprubio
----
hi,
if you have a image with transparent color in previous function "function rotateImage($img1,
$rec)"
just before "return $img2;" you have to do:
imagecolortransparent($img2, imagecolorallocate($img2, 0, 0, 0));
Best regards