Bug #64898 [Csd]: imagerotate is broken
| From: | douglas dot wright at pre-school dot org dot uk | Date: | Tue, 28 May 2013 09:33:50 +0000 |
| Subject: | Bug #64898 [Csd]: imagerotate is broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-179176@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64898&edit=1
ID: 64898
User updated by: douglas dot wright at pre-school dot org dot uk
Reported by: douglas dot wright at pre-school dot org dot uk
Summary: imagerotate is broken
Status: Closed
Type: Bug
Package: GD related
Operating System: Windows 7
PHP Version: 5.5.0RC1
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
Fix confirmed. Many thanks.
Previous Comments:
------------------------------------------------------------------------
[2013-05-27 07:23:40] pajoye@php.net
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2013-05-27 07:22:31] pajoye@php.net
Automatic comment on behalf of pierre.php@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2f01e06786c6f4b2479fdb728bd26062d07208e0
Log: fix #64898imagerotate is broken with bilinear interpolation
------------------------------------------------------------------------
[2013-05-26 23:49:48] pajoye@php.net
Reproduced. Have to figure out what went wrong lately with the bilinear
interpolation and the rotate function.
As a work around, add:
imagesetinterpolation($source, IMG_BICUBIC_FIXED); // or any prefered algorithm
before the imagerotate call.
------------------------------------------------------------------------
[2013-05-22 12:54:56] douglas dot wright at pre-school dot org dot uk
Sure, the one I used in the testcase is https://www.pre-school.org.uk/publicationimage/236/thumbnail/?size=200
------------------------------------------------------------------------
[2013-05-22 12:46:46] pajoye@php.net
Do you have the original image please? You can use tinypic too but I need the
original images.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=64898
--
Edit this bug report at https://bugs.php.net/bug.php?id=64898&edit=1