Forum moved here!

# Home / Color inverting is ineffective for non-PDF documents

mrx

I’m inverting colors with the following way, but it has no effect on epub and possibly other non pdf files.

The point of inverting is to reduce eye strain especially on long epub books. (>500 pages on a PC)

MainWindowBackground = #000000
EscToExit = true
ReuseInstance = false
UseSysColors = false
RestoreSession = true
TabWidth = 300

FixedPageUI [
TextColor = #ffffff
BackgroundColor = #000000
SelectionColor = #f5fc0c
WindowMargin = 2 4 2 4
PageSpacing = 4 4
GradientColors = #000000
]


It would be better to have a simple ui checkbox to do this that works on every filetype.

Cheers

GitHubRulesOK

Inversion is best reserved for PDF blueprints or negatives it is not intended as a means to invert everything such as help files or photos, and it would be pointless for comic books.

However reversing colour range in eBook mode can behave just as badly as pdf inversion. But does NOT usually invert the images, perhaps it should ?

mrx

Most books don’t have images, I can also live with inverted images, because I can turn inversion off at any time, but eyestrain won’t go away without inverting ebooks.

What settings did you use to invert epub? My example didn’t work.

GitHubRulesOK

On testing inversion will ALSO apply to CHM in fixed mode UI

FixedPageUI [
TextColor = #ffffff
BackgroundColor = #000000
SelectionColor = #fbfea4
WindowMargin = 2 4 2 4
PageSpacing = 4 4
GradientColors = #999999
]
EbookUI [
FontName = Georgia
FontSize = 12.5
TextColor = #ffffff
BackgroundColor = #000000
UseFixedPageUI = true
]


OR Debug > Toggle ebook UI (which also requires pressing R to refresh)

	UseFixedPageUI = false
]


OR Debug > Toggle ebook UI (which also requires pressing R to refresh)

and since many ebbok related formats also work in a similar fashion

I would contend More “non-PDF” do invert than don’t in fixed UI

mrx

Works very well!

Only issue I found was that changing UseFixedPageUI not just affects display inversion but also text selection in epub. Someone might want a combination of two that’s not possible with one parameter.