update_with_media Image Size


I’m doing an update_with_media and getting a connection timeout error. What I noticed is that the image begin uploaded is 2.59Mb in size, but the encoded size in bytes is about 4.13Mb. The help/configuration returns 3145728.

Does help/configuration refer to the actual size of the file or to the encoded byte size? Any advice or ideas on what I can do?