elboletaire / Watimage

:framed_picture: PHP image manipulation class
https://elboletaire.github.io/Watimage
Other
25 stars 17 forks source link

Flip method does not maintain transparent background for gif images #16

Closed elboletaire closed 9 years ago

elboletaire commented 9 years ago

It seems to be the same issue as #6, replacing imagecopyresampled with imagecopyresized should do the trick.

elboletaire commented 9 years ago

To flip images we use negative values for width / height. It seems that imagecopyresized does not allow negative values.

Thus, this cannot be fixed right now.

elboletaire commented 9 years ago

I finally could manage to maintain transparency when flipping gif images :smile: