You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I turn on the dark mode and starting reading the book, the first page is with the cover of the book.
The picture inside the book became negative (inverted) anyway (see photos)
It seems that in the settings I turn on invert images - it’s still a negative image, then I turn off the function - it’s still a negative image, not a real color one!
PHOTOS DESCRIBES PROBLEM
Help me fix it please.
Please fix it in the new version.
The text was updated successfully, but these errors were encountered:
I don't think MuPDF (easily) offers that through its API, but if it does it's still something that should probably be off by default (e.g., the whole document might consist of images, the images might count on transparency so you get black on black, etc.).
Interested parties could start investigating around fz_invert_pixmap and fz_gamma_pixmap.
I think this is not related to MuPDF: the bottom menu is the one we get with CRE.
And I guess, from the russian UI, that this is a FB2 document - and for FB2 document, the cover is something special drawn via a dedicated codepath (unlike other images in the FB2, or all image including the cover in EPUBs) where we don't do that inversion (because we just didn't think about it :/).
Not sure yet if it's easy to fix, I'll look at it, no promise.
I turn on the dark mode and starting reading the book, the first page is with the cover of the book.
The picture inside the book became negative (inverted) anyway (see photos)
It seems that in the settings I turn on invert images - it’s still a negative image, then I turn off the function - it’s still a negative image, not a real color one!
PHOTOS DESCRIBES PROBLEM
Help me fix it please.
Please fix it in the new version.
The text was updated successfully, but these errors were encountered: