【发布时间】:2020-09-13 17:57:05
【问题描述】:
我将 Cloudinary 用于我的博客站点(使用节点 js 构建)。
我的问题是,当我从 iPhone 上传图像时,它会旋转 90 度。我已经尝试过angle: "ignore",但这似乎不起作用。我认为这与exif信息有关。我该如何摆脱它或者我使用了错误的云参数?
(当我在 url 中包含 a_ignore 时也不起作用)
这里是上传代码:
let result = await cloudinary.uploader.upload(req.file.path, {resource_type: type, angle:"ignore"});
【问题讨论】:
标签: node.js iphone image rotation cloudinary