为什么BlackCity/Backload自动旋转上传的图片?

Why BlackCity/Backload automatially rotate the uploaded image?

我正在使用回载 ( https://github.com/blackcity/Backload ) 上传图片。它工作正常。这是 Wev.backload.config

中的两行
<images width="3072" height="2304" dpi="96" canvasColor="#00ffffff" forceImageType="image/png" resizeMode="ratio" maxFileSize="4194304" />
<thumbnails path="_thumbs" width="192" height="144" dpi="96" canvasColor="#00ffffff" resizeMode="ratio" imageType="image/png" />

但是,我发现如果上传宽度<高度的图片,上传的图片会自动旋转。例如原图为(3072,2304),宽度为3072,上传后尺寸为(2304,3072)。自动旋转。

有没有办法在不旋转的情况下保持 width/heigh 比例?

事实证明这是回载中的错误。并且它被固定在新包中。详情在 github https://github.com/blackcity/Backload/issues/107#issuecomment-251363262