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

Alpha heuristic improvements #144

Merged
merged 3 commits into from
Nov 14, 2018

Conversation

kornelski
Copy link
Contributor

  1. I've found an image that with alpha reductions is compressed worse than without alpha reductions (I can't share the image, as it's private). That's because zlib strategy = 2 ignores repetitions, and picks alpha that compresses badly with a better strategy.

  2. Cloning of image makes copy of both idat and raw data, but in alpha reductions both are getting replaced immediately, which is wasteful. I've made alpha reductions return only copy of relevant data.

@shssoichiro shssoichiro merged commit 4765eaa into shssoichiro:master Nov 14, 2018
@kornelski kornelski deleted the alphaheuristic branch November 14, 2018 17:21
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

Successfully merging this pull request may close these issues.

2 participants