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

Move from boolean Yes/No compression to a three-step No/Little/Heavy compression pattern #13

Open
technopagan opened this issue Jul 26, 2013 · 1 comment
Assignees

Comments

@technopagan
Copy link
Owner

To further reduce bytesize, Adept needs a more granular approach to compression.

As of now, the only decisive factor if we can apply high compression to a tile is the black-white median decimal "0.825". If a tile ranks below that threshold, it gets compressed more heavily.

We can introduce a multi-threshold step system here that e.g. applies no compression, a little compression (~q=75) or high compression of the median is zero. This way, Adept may be able to save more bytes.

@ghost ghost assigned technopagan Jul 26, 2013
@joeyhoer
Copy link
Contributor

joeyhoer commented Jul 3, 2014

I had the same idea while fiddling with SaliencyDetector. There may be a way to use variable compression ratios based on the output luminosity of --blocks or --qblocks option already. Or average the luminosity of the default output with imageMagic to achieve the same effect.

I agree, something more than an "on/off" compression could be desirable, and may yield better results.

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

No branches or pull requests

2 participants