This is a bug fix: the old version of this jpeg approximate file size code was incoherent and was causing the camera to return too-large images to the SMS app.