'Image size changes on when you shift it on Android phone or Emulator

I am working on something which includes image upload loading. User can set the image or document size in bytes from the web end and then user can upload any image or document up to that particular size.

For testing purpose I have set the limit "39000" bytes on web end and downloaded a sample image from internet size 39kb(39000) on my Android phone , Emulator and on system (Windows).

When I upload that image from web it gets successfully uploaded but from Android Mobile and Emulator I get the error that image size limit is exceed.

I have checked image details on all the platform. I don't understand when the image of 39Kb is downloaded on emulator or on android device why its size gets increased.

I am attaching the screenshot sizes along with the link of image.

https://sample-videos.com/download-sample-jpg-image.php

Image size on Windows:

Same Image size on Android Device:



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source