Flip rgb correctly
Merge pull request #54 from lantiga/master

PNG flipping