note 52288 added to function.imagerotate

From: Date: Wed, 27 Apr 2005 06:56:30 +0000
Subject: note 52288 added to function.imagerotate
Groups: php.notes 
Request: Send a blank email to php-notes+get-88606@lists.php.net to get a copy of this message
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) ---- Manual Page -- http://www.php.net/manual/en/function.imagerotate.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52288 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52288&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52288&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52288&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52288&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52288&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52288&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88606) next »