Added EXIF orientation support, fixed #19