adept-jpg-compressor icon indicating copy to clipboard operation
adept-jpg-compressor copied to clipboard

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

Open technopagan opened this issue 12 years ago • 1 comments

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.

technopagan avatar Jul 26 '13 12:07 technopagan

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.

joeyhoer avatar Jul 03 '14 19:07 joeyhoer