1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-12 17:26:23 +00:00

fix all other webtoon bugs (#1123)

* adjust webtoon thresholds

* fix arbitrary width webtoons

* virtual pages can exceed height by 20%

* prevent webtoon bad options

* adjust virtual page ratio

* don't change history too much

* GUI change

* add TODO

* add scroll illusion
This commit is contained in:
Alex Xu
2025-10-19 11:15:14 -07:00
committed by GitHub
parent ee8fc77ca9
commit 6f801a3334
4 changed files with 50 additions and 20 deletions

View File

@@ -397,6 +397,8 @@ class ComicPage:
self.image = Image.eval(self.image, lambda a: int(255 * (a / 255.) ** gamma))
def autocontrastImage(self):
if self.opt.webtoon:
return
if self.opt.autolevel and not self.color:
self.convertToGrayscale()
h = self.image.histogram()