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

Specify compress level #165

Closed
ooflorent opened this issue Aug 20, 2014 · 2 comments · Fixed by #201
Closed

Specify compress level #165

ooflorent opened this issue Aug 20, 2014 · 2 comments · Fixed by #201
Labels

Comments

@ooflorent
Copy link

Is it possible to specify the compression level?
If so, how can I achieve that?

@dduponchel
Copy link
Collaborator

It is not (yet) possible to do that. I have a patch to add this feature but I won't be available for the next week so I'll create the pull request after that (but you can get the patch / build JSZip if you whish).

@lrsjng
Copy link

lrsjng commented Aug 24, 2014

👍

dduponchel added a commit to dduponchel/jszip that referenced this issue Feb 18, 2015
This commit adds a new option, `compressionOptions`. If it contains a field
`level`, it is used by the DEFLATE compression to set the compression level :
6 by default or any level between 1 (best speed) and 9 (best compression).

Fix Stuk#165.
@Stuk Stuk closed this as completed in #201 Feb 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants