Edit report at https://bugs.php.net/bug.php?id=64898&edit=1

 ID:                 64898
 Updated by:         paj...@php.net
 Reported by:        douglas dot wright at pre-school dot org dot uk
 Summary:            imagerotate is broken
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            GD related
 Operating System:   Windows 7
 PHP Version:        5.5.0RC1
 Block user comment: N
 Private report:     N

 New Comment:

Do you have the original image please? You can use tinypic too but I need the 
original images.


Previous Comments:
------------------------------------------------------------------------
[2013-05-22 10:43:55] douglas dot wright at pre-school dot org dot uk

Description:
------------
When attempting to rotate an image using PHP5.5RC1, the output is corrupted. 
This is a regression from latest stable PHP 5.4

Test script:
---------------
<?php

$source = imagecreatefrompng('original.png');
$rotate = imagerotate($source, 45, imagecolorallocate($source,255,255,255));
imagepng($rotate, 'rotated.png');

Expected result:
----------------
Please see comparison screenshot at http://tinypic.com/r/34t8qdu/5 

Actual result:
--------------
Please see comparison screenshot at http://tinypic.com/r/34t8qdu/5 


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64898&edit=1

Reply via email to