use imread-reoriented everywhere.
check exif orientation only for jpg file.