【问题标题】:exif image orientation is not workingexif 图像方向不起作用
【发布时间】:2017-06-02 18:44:44
【问题描述】:

我有一个应用程序,用户可以通过手机上传图像。当我在我的 html 文档中使用相同的图像时,它没有正确显示。它显示为自动旋转。但是,我尝试了 image-orientation 属性,它在 moz 中工作但在 chrome 中不工作。我使用了下面的代码

.xyz{
    image-orientation:from-image
    }
<img src="image/02020274842547347547357" class="xyz">

【问题讨论】:

标签: html css image google-chrome exif


【解决方案1】:

从 Chrome 81 开始,这是自动完成的。大多数其他浏览器仍然不支持。

【讨论】:

    猜你喜欢
    • 2018-12-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-20
    • 1970-01-01
    • 2013-10-27
    • 1970-01-01
    相关资源
    最近更新 更多