@Narendra HTML5 can either draw stuff dynamically, or take the stuff from server. So even if something like that is possible like in HTML5 Canvas then if would compress only the already uploaded images, and if it compresses only already compressed images it won't solve the FB's purpose. As they want to save on bandwidth (both for them, and for user) by compressing the images.
So I think HTML5 technique is not possible. On Fri, Apr 15, 2011 at 10:01 AM, Narendra Sisodiya < [email protected]> wrote: > On Thu, Apr 14, 2011 at 11:44 PM, Ankur Gupta <[email protected]> > wrote: > > Hi all, > > Please tell me that how facebook compresses the images before > > uploading to the server? > > I never heard about client side compression... checkout some html5 > api(s), it might be possible to do that, I am not sure.. > But this will is surely possible in browser specific method... like > search for Firefox, XPCOM API to read and zip the files.. Search on > MDC, you will surely get informations. > > -- > LUG@IITD - http://lug-iitd.org/Footer > -- aks -- LUG@IITD - http://lug-iitd.org/Footer
