uni-app 3.2.3 chooseImage 图片 orientation信息丢失

uni-app 3.2.3 chooseImage 图片 orientation信息丢失

| 开发环境 | 版本号 | 项目创建方式 |
|----------|--------|--------------|
| Mac      | 10.14.6| HBuilderX     |

# 操作步骤:
比如小米实际照片是  exif.Orientation = 6 的对应 orientation='right'  ,但是3.2.3现在都是 up了  
chooseimage=>getImageInfo=>orientation  
原图其实是有exif信息的,通过exifjs这个库可以获取到,但是现在压缩图直接exif都丢失了,造成图片各种旋转  

# 预期结果:
right  

# 实际结果:
up  

# bug描述:
如题

更多关于uni-app 3.2.3 chooseImage 图片 orientation信息丢失的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于uni-app 3.2.3 chooseImage 图片 orientation信息丢失的实战教程也可以访问 https://www.itying.com/category-93-b0.html


ios 就反过来,明明exif 里 Orientation=1 应该对应 'up’的。 现在getImageInfo出来的是right

回到顶部