Reputation: 8493
An app I'm working on allows users to submit photos from the iPhone to a website. I'm all set with resizing the image on the client and converting it to a jpeg.
I'm wondering if there are any best practices, general experiences or statistics that can help lead to reasonable assumptions for a decent file size to target. I know 3g speeds can vary significantly and I'm trying to find a good compromise between quality and time to upload and reliability to complete an upload. I'd like to get something reasonable in place before I head down the path of threading out the upload and handling resumes.
I appreciate any tips from your experiences or pointers to guidelines or studies about this.
Thanks
Upvotes: 2
Views: 1143
Reputation: 33592
Doing What Apple Does can't be too far wrong for things like this (at least, once you've verified that Apple's done something vaguely sensible):
The default you pick depends on the kind of sharing you want to do; I'd expect reasonably high quality for something like Flickr (where I'm sharing photos of my trip) but not something like Facebook (where I'm sharing random pictures of my friends). You could give the user a choice between S/M/L in a segmented control when uploading, or in settings, or something.
You can also turn off 3G/WiFi and see how long it takes over 2G.
Upvotes: 1