[solved] rotating an image with alpha channel - bug?

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

[solved] rotating an image with alpha channel - bug?

Post by dbevfat »

I've just noticed the strangest thing while rotating an alpha-transparent image (truecolor png with an alpha channel); it rotates fine for angles between -45 and 45, outside of that, the resulting image doesn't have an alpha channel anymore. Using php 5.2 with appropriate GD. Can anybody confirm that?

best regards
Last edited by dbevfat on Tue Feb 06, 2007 6:43 pm, edited 1 time in total.
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

Post by dbevfat »

This is apparently a bug (see http://bugs.php.net/bug.php?id=39366), which was fixed in CVS.
Post Reply