php - Pre-compress images on mobile devices -


i'm working on web application allows images uploaded server, pictures take quite some time upload via 3g/h. i'm wondering there kind of way pre-compress image on taking or uploading them?

for example, user takes picture @ 3g/h, depending on camera 2 - 3 mb, , starts upload. takes while or connection breaks @ 3g - g - h or whatever switch or drop. browser doesn't take well, , image can , lost.

any advice please. :)

ps. i'm talking cross (mobile) browser / cross (mobile) platform

i think has been answered. mention cross browser/cross mobile platform assumes non-native application using c#/c++. if did develop client mobile application natively have access necessary image libraries (gd) compress images (without resizing them) wish.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -