joomla-framework/image — pull request #4 by Achal-Aggarwal (2014-04-29 15:07:55+00:00)
Title: Fixes interpretation of background=-1 while rotating an image.

https://github.com/joomla-framework/image/blob/master/Tests/ImageTest.php#L773 test is failing when executed locally.

`$image->handle` is false after rotation. I found out that when background=-1 is set for rotation then ` imagerotate($handle, $angle, $background);` returns false.

I assumed that if we background=-1 is for making background transparent then we have an issue. This PR solves this issue.