Skip to content

Conversation

ihonza
Copy link

@ihonza ihonza commented Sep 1, 2025

I added a button (feel free to move it is its against GUI styling) that toggles PDF view between bright and dark. Bright is normal as it was, but dark inverts HSV lightness of everything except raster images (all images Page.GetImages returns). It uses only SkiaSharp for graphics and I hope that variables are where they belong. I did my best to stick with the style and architecture of the project. Feel free to contact me if you have any questions!

Screenshot2 Screenshot1

ihonza and others added 9 commits September 1, 2025 17:41
Image mask is now SKPath, not bitmap. Darkmode rendering is now in Utilities/DarkModeRender so there is no redundant code for thumbnails and pages
Darkmode added to actual version of app
rester images are now non-inverted on all pages
@BobLd
Copy link
Member

BobLd commented Sep 2, 2025

@ihonza thanks a lot for the PR! I really like the idea. I'll find time to review it shortly

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