[okular] [Bug 461012] Feature request: Add a possibility for image to ignore color change

2023-10-18 Thread Daniel
https://bugs.kde.org/show_bug.cgi?id=461012

Daniel  changed:

   What|Removed |Added

 CC||naq...@gmail.com

--- Comment #4 from Daniel  ---
This is a very interesting and highly desired feature for me (personal issues
reading from a big screen).

I've found out that Zathura performs recoloring w/o affecting images. It does
so by retrieving the list of images of the page with the corresponding
coordinates and then skipping those during the recolor. 

Okular's recoloring is happening in
https://github.com/KDE/okular/blob/master/gui/pagepainter.cpp#L689 but that
function has no access to the PDF details as they're hidden behind the abstract
interface of the Generator which does not provide any details.

Unfortunately, my try to add bool Generator::mediaBoxes(QList& boxes)
const and pass those boxes to recolor has failed around trying to get the
Generator for the page :( I didn't even get to transforming the boxes according
to the page.

Anyway, both hands for that feature.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 461012] Feature request: Add a possibility for image to ignore color change

2023-02-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=461012

davidkace...@gmail.com changed:

   What|Removed |Added

 CC||davidkace...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 461012] Feature request: Add a possibility for image to ignore color change

2022-10-26 Thread cipricus
https://bugs.kde.org/show_bug.cgi?id=461012

--- Comment #3 from cipricus  ---
(In reply to David Hurka from comment #2)
> You forget the superweapon of digitalization: scanned PDFs. ;)

There are indeed many pdf files made out of images (that is: images of text),
but not most of them, and many are a mix of text (not image) and image
(pictures, pictural forms, not text). For the latter it makes no sense
whatsoever to see them inverted or with their colors modified according to a
setting that makes sense only for text. Therefore an option not to apply to
image the color for text (non-image text) would be great. (e.g. such option is
present in Foxit Reader for Linux).

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 461012] Feature request: Add a possibility for image to ignore color change

2022-10-26 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=461012

David Hurka  changed:

   What|Removed |Added

   Platform|Compiled Sources|unspecified
 OS|Microsoft Windows   |All
  Component|PDF backend |general

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 461012] Feature request: Add a possibility for image to ignore color change

2022-10-26 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=461012

David Hurka  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=409508

--- Comment #2 from David Hurka  ---
You forget the superweapon of digitalization: scanned PDFs. ;)

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 461012] Feature request: Add a possibility for image to ignore color change

2022-10-26 Thread cipricus
https://bugs.kde.org/show_bug.cgi?id=461012

cipricus  changed:

   What|Removed |Added

Summary|Add a possibility for image |Feature request: Add a
   |to ignore color change  |possibility for image to
   ||ignore color change

-- 
You are receiving this mail because:
You are watching all bug changes.