Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[feature request] Workers support #16

Open
CezaryDanielNowak opened this issue Jan 19, 2014 · 7 comments
Open

[feature request] Workers support #16

CezaryDanielNowak opened this issue Jan 19, 2014 · 7 comments

Comments

@CezaryDanielNowak
Copy link

When running blurjs, there is noticeable lag. Using Web Worker to transform image would fix the lag :)

@Huespal
Copy link

Huespal commented Apr 29, 2014

Yeah! You're right. Do you or someone have any clue on how to do that? I'm trying to make it possible, but the entire plugin is done in jQuery, and worker's need to be in native JavaScript.

@sailens
Copy link

sailens commented Apr 29, 2014

If there is workers implementation I'd definitely use it. Lag is too heavy

@CezaryDanielNowak
Copy link
Author

For now lag is caused also by events handled in wrong way. In my fork there is a lot of performance fixes:
https://github.com/korpirkor/Blur.js

@sailens
Copy link

sailens commented Apr 30, 2014

I'll look into your fork, thanks @korpirkor !

@sailens
Copy link

sailens commented Apr 30, 2014

The blur method you use is significantly faster, but also uglier. I'll study both to see which one suits me better, thanks!

@CezaryDanielNowak
Copy link
Author

You can still use StackBlur instead of StackBoxBlur, just revert this commit CezaryDanielNowak@58878ab . I could make switch for blur algo but it would increase file size

@Huespal
Copy link

Huespal commented May 5, 2014

I've finally done it by using Web workers.

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

No branches or pull requests

3 participants