ermig1979 / AntiDupl

A program to search similar and defect pictures on the disk
https://ermig1979.github.io/AntiDupl
MIT License
1.26k stars 93 forks source link

Fullscreen images compare #84

Open nikolay-borzov opened 4 years ago

nikolay-borzov commented 4 years ago

If there is a very small difference between images (e.g. open/closed eye, mouth shape change) its hard to notice what exactly is different even though the app highlights the region. To simplify visual comparison a fullscreen image view with toggler first/second can be introduced. The view displays a single image. When "first" selected the first image is displayed and when "second" selected - the second one is displayed. Switching between first/second will help to notice the exact difference. An alternative to toggler is a draggable line over image view that have the first image on the left and the second image on the right

In Russian: Иногда разница между изображения сликом мала чтобы расмотреть её на миниатюре (например открытый/закрытый глаз, форма рта). Чтобы улучшить визульное сравнение можно добавить полноэкранный просмотр изображения с переключателем "первое/второе" . В этом режиме отображается только одно изображение. Если переключатель в положении "первое" отображается первое изображение, если "второе", то второе соотвественно. Бустрое переключение междый первым и вторым изобржениями позволит увидеть мельчайшую разницу невооружённым глазом. Альтернативой переключателю "первое/второе" может быть перемещаемая линия слева от которой рисуется первое изображения, а справа - второе

Shinkir0 commented 4 years ago

Как то давно тоже такое просил, так что поддержу. Мне бы хватило просто горячей клавиши по которой картинка в левом окне сменялась на правую. По принципу нажал сменилась, отпустил вернулась в исходное состояние

WonderRat commented 4 years ago

Как в превью фильтров Фотошопа: пока нажата левая кнопка мыши видна исходная картинка и можно скроллить. Но для скроллинга на полэкрана нужны дополнительные кнопки: PgUp/PgDn, Home/End - как в IrfanView.

inger147 commented 4 years ago

I know it isn't exactly the enhancement being requested, but I just added a commit that can help with this.
I've found a way to easily do a detailed visual comparison using an external image viewer (I use XnView). Just set your image viewer to open images to 100% zoom level by default, and then use the "Open both images" button in AnitDupl.Net, which I just recently added in commit #103. This will open both images simultaneously in the external viewer, and you can then use whatever hotkey your viewer uses to quickly switch between the windows to do a detailed comparison between the two images. For XnView this is Ctrl+Tab.