fork-dev / Tracker

Bug and issue tracker for Fork for Mac
506 stars 12 forks source link

[Feature Request] Image diff option to display pixel differences #1796

Closed misprintt closed 1 month ago

misprintt commented 1 year ago

The existing image diff options are great, however they don't work very well for comparing subtle differences (e.g. different versions of the same screenshot)

Image comparison tools typically offer a pixel diff map option that highlights which pixels are different between the two images.

Please consider adding this :)

DanPristupov commented 1 year ago

Image comparison tools typically offer a pixel diff map option that highlights which pixels are different between the two images.

Can you show a few screenshots?

misprintt commented 1 year ago

This example (from https://github.com/yahoo/blink-diff) - shows how it can highlight changes that aren't immediately obvious

image

Some example libraries that offer this:

ZevEisenberg commented 1 year ago

Kaleidoscope also does this really well. It has a slider to fade in the diff overlay, so you can get a sense of what parts of the underlying images are different.

DanPristupov commented 1 year ago

@ZevEisenberg

Fork has onion skin too. https://github.com/fork-dev/Tracker/assets/618115/cc228376-fee0-42d7-ac15-5fa70ec3849e

Or do you mean onion skin + diff highlighting?

ZevEisenberg commented 1 year ago

Exactly - sometimes, the diff is too subtle to see in onion skin by itself, so onion skin that fades in the 1-bit diff on top of either the "before" or "after" image would be useful.

Also, the ability to pinch-to-zoom in that view would be useful so you can see individual pixels in a large image.