OneDrive-PNG文件大小错误 [英] OneDrive - Wrong size for PNG files
本文介绍了OneDrive-PNG文件大小错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
上载某些PNG文件时,在OneDrive网站和REST API返回的Photo对象中错误地报告了大小.可以使用以下PNG文件重现该内容:
When uploading certain PNG files the size is incorrectly reported on the OneDrive website and in the Photo object returned by the REST API. This can be reproduced using the following PNG file:
http://www2.zippyshare.com/v/11270772/file.html
文件大小为 20.3 KB ,OneDrive将其显示为 38.4 KB
The file size is 20.3 KB, OneDrive displays it as 38.4 KB
这似乎仅在没有downsize_photo_uploads查询参数或将其设置为true时会缩小/转换大小的PNG文件中发生.但是问题不仅限于使用REST API上载.
It seems this only happens with PNG files that would be downsized/converted when the downsize_photo_uploads query param is absent or set to true. But the problem is not just limited to uploads using the REST API.
查看全文