Bug 461015 - Feature request: add option to set colors of background and text no matter their initial color
Summary: Feature request: add option to set colors of background and text no matter th...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.08.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-26 12:49 UTC by cipricus
Modified: 2022-10-26 21:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
image with pdf page colors (417.41 KB, image/png)
2022-10-26 12:49 UTC, cipricus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cipricus 2022-10-26 12:49:12 UTC
Created attachment 153215 [details]
image with pdf page colors

Some pdf files have text pages that are in fact images of book text pages with multiple colors and shades. Inverting the colors or changing the colors only imposes two selected colors onto that and readability is not improved.

STEPS TO REPRODUCE
1. Open a page like that in part 1 of attachment, setting a "light" (background) color of #1b1e20, and a "dark"  (font) color of #1b1e20
OR: 
2. invert colors.

OBSERVED RESULT
1. it looks like the page part 2 of attachment; the background color is not uniform and lighter than expected (mostly about #434A50); the text color is darker than expected (about #C5D8E9)
OR:
2. it looks like part 3 of attachment; the background is bright blue (#1F446E)

EXPECTED RESULT
The colors should be those selected initially.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 cipricus 2022-10-26 12:53:21 UTC
Correction: 

STEPS TO REPRODUCE
1. Open a page like that in part 1 of attachment, setting a "light" (background) color of #1b1e20, and a "dark"  (font) color of #d5e9fc