4 ms·
Plupload appears to do that, but I haven't used it myself: http://www.plupload.com/ http://www.plupload.com/
by _delirium 15y ago
Plupload appears to do that, but I haven't used it myself: http://www.plupload.com/ http://www.plupload.com/
- thraxil 15y agoDigging through code a bit, it looks like plupload accomplishes the resize by handing off to Flash or Silverlight, so I don't think it would work in a pure JS environment without either of those.
- _delirium 15y agoTheir features matrix claims that it can do JPEG resize in HTML5 in both Firefox 3.5+ and Chrome, but not Safari or Opera, which makes it sound like they have something non-Flash/Silverlight working (otherwise there'd be no Firefox/Chrome/Safari/Opera difference). Haven't dug up where that's implemented, though.
- yaix 15y agoThanks. I haven't looked through the source yet, but it looks promising. Hope there is no Flash involved.