Handle rotation problem. This is caused by ImageIO not correctly reading EXIF.
Merge pull request #12 from tgandrews/master

Rotation problem fixed