OneDrive - Wrong size for PNG files -


when uploading png files size incorrectly reported on onedrive website , in photo object returned rest api. can reproduced using following png file:

http://www2.zippyshare.com/v/11270772/file.html

the file size 20.3 kb, onedrive displays 38.4 kb

it seems happens png files downsized/converted when downsize_photo_uploads query param absent or set true. problem not limited uploads using rest api.

the problem has been been reported here.

ryan onedrive here. looked , have understanding of what's going wrong size. onedrive computes "space" file takes in our system using size of largest data stream associated file. when image uploaded onedrive, create thumbnails images can show various views in our clients , website.

in case of particular file, 1 of jpg thumbnails create png file larger original file (due jpg compression not being effective png image). result, thumbnail largest stream on file. can imagine, doesn't happen often, image (and others it) have bug.

we have bug tracking issue , investigating how can fix api return size of "default" stream -- stream represents actual contents of file. don't have eta fix, we're working on it.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -