JPEG image size predictor