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

Compression speed #3

Open
kuckir opened this issue Oct 19, 2013 · 0 comments
Open

Compression speed #3

kuckir opened this issue Oct 19, 2013 · 0 comments

Comments

@kuckir
Copy link

kuckir commented Oct 19, 2013

Hi,
I would like to encode large images (e.g. 8000 x 8000 pixels) into PNG. I tried to encode my image, which has 512x512 pixels, into PNG, resulting file had 38 kB and it took 1400 ms.
I tried the same thing via Canvas.toDataURL("image/png"), resulting file had 52 kB and it took 45 ms.

Do you think you can optimize your code a little, so it runs faster? Is there any way to change compression quality and make it run faster?

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

1 participant