I believe that, now, they resample the images prior to upload. Perhaps to save bandwidth as well.
I think Facebook uses Java for this bit (not totally sure, and I don't want to have to log in just to check)
particularly annoying when uploading to S3, since you have to go client->server->client->server->S3.