ciromattia / kcc

KCC (a.k.a. Kindle Comic Converter) is a comic and manga converter for ebook readers.
ISC License
2.75k stars 220 forks source link

Add option to (really) disable autocontrast #511

Open M4x0udev opened 1 year ago

M4x0udev commented 1 year ago

Everything is in the title, I think it would be nice to be able to turn off this processing as some images that don't have pure white / black will have their dynamic range stretched and that s not what everyone would like.

Example: with the current version of the software, it seems to be impossible not to get this: sans-titre-kcc

from this: Sans titre

I know it's possible by disabling all processing, but I think it would be nice to have all the other rescaline/split/margin... processing without gamma correction.

axu2 commented 1 year ago

It's this concerning color images or color images that became grayscale when put into volume format?

~Because normally manga page should ideally have pure white background and pure black text.~

Maybe we should disable when gamma is 1

Maybe have option to specify auto contrast cutoff for jpg artifacts

M4x0udev commented 1 year ago

color images yes, for now I just deleted the contrastautoajust step locally, but I think for everyone, it should be alowed to disable it ^^