moxiecode/plupload — Issue #443: Auto resizing in background
Author: ebreton
Created: 2011-12-16 10:15:10+00:00
State: open

Hello,

Since plupload follow the cutting-edge technologies, I though we could add a layer with Web-Workers. They could do the resizing in background tasks. I say 'we' because I am willing to help on this point, given a few advices to get up to speed with plupload libs.

The idea is add an auto-resize options which will do the work in the background. Web-Workers are well-enough supported (http://caniuse.com/#feat=webworkers) and it would greatly speed up the processing of upload.

Following a use-case in HTML5 runtime :

1. The user drags a few photos into upload area
2. The system builds up the list like it do now and display it back into the UI area
3. The system process with each file on the background to resize them, flagging a status "being resized"
4. The user may add more files, change titles or whatever as currently
5. When the user starts upload, the system waits for the current resizing to finish (if any) and follows on as it does currently, uploading at once the files which have been resized, and resizing the ones which have not

As I said, I would be happy to get my hands dirty. So if you like the idea, I would be happy with a few advices like "how you see it", "what steps you would go through".

Cheers,
Manu