WinMerge / winmerge

WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://winmerge.org/
GNU General Public License v2.0
6.55k stars 801 forks source link

Feature request: Image comparison slider #1596

Open mojo-jojo-7 opened 1 year ago

mojo-jojo-7 commented 1 year ago

Is it possible to implement a slider for comparing images? Something like this: https://img-comparison-slider.sneas.io/

In any case, thanks for the great work you do!

sdottaka commented 1 year ago

WinMerge has a similar feature. See the following video.

#1596

mojo-jojo-7 commented 1 year ago

That's great! It never occurred to me to right-click the viewport. In that case, I guess my suggestion would be to make the different modes of comparison a little bit more intuitive. This could be something like adding a "Comparison mode" setting instead of "Overlay" in Location Pane. The viewport could switch to single-pane or side-by-side depending on the mode of comparison. For example, XOR, Horizontal/Vertical Sliders would be single-pane by default because there is less to gain in those modes from having two panes. I guess I'm ultimately describing something like this - https://www.diffchecker.com/image-diff/

On a different note, how is your slider so smooth!? Mine lags behind the cursor and is very choppy overall (I don't have antiquated hardware)

sdottaka commented 1 year ago

On a different note, how is your slider so smooth!? Mine lags behind the cursor and is very choppy overall (I don't have antiquated hardware)

Probably because the size of the image is not that large.

SlySkFP commented 1 year ago

+1 to be able to collapse both view to a single view when comparing with the slider. Perhaps this could also run more smoothly as currently the slider is swapping stuff on two images.

iG8R commented 11 months ago

+1 for the comparison like @mojo-jojo-7 described. And also I experience wild lags when using the slider in WinMerge, although the images are not very large - 600x600, 900x900 at most.