PDF reader dark mode should have an option to keep the images as is, not making it negative

edited February 28, 2024
As the title says, when using dark mode in zotero pdf reader there should be 3 options:

- Full dark mode (current).

- Dark mode on background and pages but not on images (images should be kept as in the original article, not doing the negative, it should help to create a white border (5-10px) around the original image to avoid problems if the image has a black background. I understand that this involves messing up with the pdf renderer, and it might not be possible, then the second option is to create an option in the context menu "Show original image", which opens a window to view the original image

- Only the background in dark mode, the file in the original color.

The main motivation behind this is in many microscopy, histology and immunofluorescency images coloring matters.
  • @martynas_b would have to comment on what's possible here. For now, I assume you're aware, but you can temporarily turn off dark mode for just the content pane with View → Use Dark Mode for Content.
  • Yes, we currently apply color filters to the entire page. Implementing them on specific content within the page, such as images, would be highly complex. I'm curious if there's a PDF viewer that supports functionality like this.
  • @martynas_b Adobe Acrobat has an option "Replace Document Colors" in Preferences - Accessibility. This option can set only the background and the text color, without changing images in the document.
    There is a better dark mode scheme in Midnight Lizard (an extension of Chrome/Edge), which can set the brightness of images in the dark mode to just make them dimmer.
  • edited March 1, 2024
    The PDF readers of Obsidian and Remnote have dark mode that don't invert images https://mastodon.social/@nhan/110612516483606286. Unfortunately, neither of them is open-source. Interestingly, they implemented this feature in less than 1.5 months apart from each other, which led me to think that an open-source project has implemented this first and they incorporated that feature into their own software, but apparently it's not the case?
  • very agreed! current dark mode is hard to read images on the pdf.
  • Oh gawd please
    Let us stop our images being inverted in dark mode.
  • +1, Obsidian's PDF inversion leaves a lot to be desired but it's definitely better in this respect, I'd really like to not have to flashbang myself to see bitmap figures in true colour.
  • +1, Zotero 7 has achieved "do it all" status, and that is a great thing. Bring good Dark Mode PDF support!
  • +1, getting images to stay the same would be great for dark mode.

    (Also lmao @ro255 for describing the experience as "flashbang myself")
  • Seconding others' comments: Images should absolutely not be inverted in dark mode. Photos in an article get completely ruined, and diagrams can become difficult to read. If it's not possible to exclude only images from dark mode PDFs, then the next-best option would be to have Zotero's background dark but leave the PDF unchanged.
Sign In or Register to comment.