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

Cannot specify compresslevel on save #382

Open
bcipolli opened this issue Nov 14, 2015 · 2 comments
Open

Cannot specify compresslevel on save #382

bcipolli opened this issue Nov 14, 2015 · 2 comments

Comments

@bcipolli
Copy link
Contributor

Gzip allows a compression level. ImageOpener can handle a compresslevel parameter. However, save, to_filename, and to_file_map do not expose this to the user. Seems the only way to do this is to change the default_compresslevel

load does allow the user to specify optional arguments; seems it would be useful to do for save...

This is preventing me from speeding up creation of large images for testing, but I could imagine someone wanting to vary the compression level (higher or lower; default is minimal, after all).

Feel free to close as wontfix or let me know if I'm missing the way to do this.

@matthew-brett
Copy link
Member

Seems reasonable to me, if you have a use for it...

@effigies
Copy link
Member

Relevant comment: #566 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants