Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an image comparison option for "Difference (Inverted)" #18465

Open
NilsEnevoldsen opened this issue Apr 15, 2024 · 0 comments
Open

Add an image comparison option for "Difference (Inverted)" #18465

NilsEnevoldsen opened this issue Apr 15, 2024 · 0 comments

Comments

@NilsEnevoldsen
Copy link

The feature request

Image comparison type "Difference" can look unnaturally inverted in some contexts, especially when comparing black-on-white diagrams and seeing a white-on-black difference (or the other way around). Add an image comparison option for "Difference (Inverted)".

Proposed solution

The current image comparison type "Difference" is mix-blend-mode: difference; on the current image.

I propose adding a similar image comparison type which additionally applies filter: invert(1); to the parent container. I am not sure if there is a way to get this effect by applying a filter or blend mode to the current image alone. There may be.

Additional context

2-up:
twoup

Difference:
diff

[Proposed] Difference (Inverted):
diff-invert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants