Questionable "-near_lossless" behavior #22
Replies: 2 comments
-
Suggested fix: "--debug-near_lossless-contiguity" may be added to control the threshold. Contiguousness: |
Beta Was this translation helpful? Give feedback.
-
See also: The denoise techniques maybe related. |
Beta Was this translation helpful? Give feedback.
-
I doubt making monotonous things less monotonous may improve compressibility.
Compare below:
"highlight-4x.webp" | "highlight-4x.0.webp"
"diff_quot-6x.webp" | "diff_quot-6x.40.webp"
See also: https://github.com/MasterInQuestion/attach/commit/401c58fc3a56d265feadda567f02d79de93ff10c#diff_quot
This is also the source of most significant amount of visual difference.
Apparent example:
https://github.com/MasterInQuestion/attach/raw/main/MasterInQuestion/talk/36/Shadowing.webp
; where the background is plain
#002b36
.Patching the smeared area by "-near_lossless", and recompress with strict lossless:
Resulted smaller output, and apparent more fidel image.
Beta Was this translation helpful? Give feedback.
All reactions