Skip to content

Conversation

@kerivin
Copy link

@kerivin kerivin commented Jun 26, 2025

@kerivin kerivin changed the title #13294 Brightness/contrast for scanned PDFs White threshold Jun 30, 2025
@hugleo
Copy link
Contributor

hugleo commented Aug 2, 2025

Maybe should be possible/better, a new setting here:
https://github.com/koreader/libk2pdfopt/blob/master/lib/setting.c#L60
k2settings->src_paintwhite = kctx->paintwhite;

So you can use kc:setPaintwhite to deal with this logic inside koreader lua files.

@kerivin
Copy link
Author

kerivin commented Aug 4, 2025

@hugleo Yeah you're probably right

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants