Rotating removes a few pixels at the edge
skuppen opened this issue · comments
Hi, love this library, but I ran into a quite annoying issue:
http://i.imgur.com/fHlEqi1.jpg
As you can see, a few pixels are cut off on the outside.. The watermark looks ugly, making rotation almost unusable.
The image itself is perfectly round:
http://i.imgur.com/mmzSASg.png
I used a white background in the image itself just so you can understand better what the issue is here.
Any fix for this?
Which PHP version do you use ?
Thanks for you reply.
I use 5.5.28, but had this issue since 5.3 (upgraded recently)
I don't know about PHP 5.3 (this version is no longer maintained), but with PHP 5.x, GD extension has some problems with rotation function (https://bugs.php.net/bug.php?id=65148).
We suppose that your rotation problem is directly linked to this PHP GD extension issue.