Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can GIF encoding be offloaded to a web worker? #14

Open
sole opened this issue Jan 26, 2014 · 3 comments
Open

Can GIF encoding be offloaded to a web worker? #14

sole opened this issue Jan 26, 2014 · 3 comments

Comments

@sole
Copy link
Owner

sole commented Jan 26, 2014

Currently the frames are processed in workers, but why is the encoding not in a worker?

@Montoya
Copy link

Montoya commented Apr 15, 2015

Uneducated guess: if encoding creates a blob, that blob is stored in memory. If it happens in a worker, that blob is in the memory space of the worker, but is not accessible to the main thread.

@sole
Copy link
Owner Author

sole commented Apr 16, 2015

@Montoya, that was a rhetoric question.

Additionally you can transfer object ownership between workers and the main thread.

@Montoya
Copy link

Montoya commented Apr 16, 2015

Yes I realized that like two minutes after posting it (and that the question was over a year old) but figured it was too late :(

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants