Generated images showing flipped

旧时模样 提交于 2020-02-02 07:03:22

问题


We have a image, but it's showing flipped on Google Chrome, Safari, iOS and iPhone. But image showing correctly on IE and Android.

How it could be?


回答1:


The image is shown rotated because it contains an Exif Orientation field which is set to "Rotate 90 CW" (value 6). This could happen if the image was rotated in software that don't also update the Exif data. Chrome, Safari et al is honoring this field, while the software that shows the image "correctly" doesn't.

According to the Exif fields, it's the rotated version that is correct.

To show correctly in all software, remove the Exif Orientation field.

See TIFF Orientation for more info.



来源:https://stackoverflow.com/questions/17215565/generated-images-showing-flipped

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!