Edit report at https://bugs.php.net/bug.php?id=65070&edit=1
ID: 65070 Updated by: paj...@php.net Reported by: david at grudl dot com Summary: imagerotate and wrong background color -Status: Open +Status: Feedback Type: Bug Package: GD related Operating System: Windows PHP Version: 5.5.0RC3 -Assigned To: +Assigned To: pajoye Block user comment: N Private report: N New Comment: It copies pixel by pixel using the colors defined by the color index. I will check it again but 1st test did not reproduce this problem. If you have a self contained script to show how this problem occurs in your app, please post it here. Previous Comments: ------------------------------------------------------------------------ [2013-06-20 15:41:23] david at grudl dot com Description: ------------ When is non-truecolor image rotated, it is converted to truecolor. Problem is with background color. In PHP < 5.5 is used correct color, exactly as choosed using imagecolorallocatealpha(), but in PHP 5.5 is used wrong color, probably closest color in palette. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65070&edit=1