title: OneDrive - Wrong size for PNG files
body: <p>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:</p>
  
  <p><a href="http://www2.zippyshare.com/v/11270772/file.html" rel="nofollow">http://www2.zippyshare.com/v/11270772/file.html</a></p>
  
  <p>The file size is <strong>20.3 KB</strong>, OneDrive displays it as <strong>38.4 KB</strong></p>
  
  <p>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.</p>
  
  <p>The problem has been already been reported <a href="http://answers.microsoft.com/en-us/onedrive/forum/sdfiles-sdupload/file-size-metadata-incorrect-for-certain-photos/49dbee6b-6edf-454a-af58-c0bb213334a4" rel="nofollow">here</a>.</p>