PHPThumb
PHPThumb copied to clipboard
Rotating a PNG image doesn't work well
Hi, When a PNG file is rotated, it doesn't work. For example, try to rotate this image (http://digitalnewsjournalist.com/files/2010/01/bitly-logo.png) and see the result.
Please verify, Thanks
I got the exact same issue it looks like it's removing the transparency, is there a fix allready?
HI, I had the same issue so i looked in code and php doc and it looks that after imagerotate in GDThumb.inc.php find line : 544 : $this->workingImage = imagerotate($this->oldImage, $degrees, 0); after should be function preserving alpha, just add below : $this->preserveAlpha(); try than, quick fix for now.