Fix #158: GD alpha detection + Color::isOpaque are broken
Merge pull request #310 from romainneutron/fix-158

Fix #158: GD alpha detection + Color::isOpaque are broken