Add an A/B slider to Compare Tool

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

wOLVERINe
Posts: 11
Joined: Fri Dec 15, 2006 1:41 am

Add an A/B slider to Compare Tool

Post by wOLVERINe »

Hi,

The build-in Compare Tool is great but often times I need to compare images as stacked images. What works great for this are image comparisons tools that you see more often online than offline, like this one - https://themify.me/demo/themes/addon-ab-image/

It doesn't need to analyze the images. Just a simple slider AND toggle back and forth (full left, full right) shortcut would be nice.
What also would be nice is if the tool could smartly jump between filenames based on 2 files or some naming convention. So that when given the filenames below in a folder, when you press PageUp/Down (Next/Back), it grabs the next set for comparison. (01, 01) (02, 02)

01_before.jpg
01_after.jpg
02_before.jpg
02_after.jpg
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Add an A/B slider to Compare Tool

Post by xnview »

yes will be great...
Pierre.
User avatar
RGhost
Posts: 47
Joined: Sun Mar 30, 2008 10:51 am
Location: Moscow
Contact:

Re: Add an A/B slider to Compare Tool

Post by RGhost »

Would be very useful to me too... to compare rendered images.
Royal Ghost | http://veda3d.com
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Add an A/B slider to Compare Tool

Post by xnview »

See issue for current status and some details.
Pierre.
wOLVERINe
Posts: 11
Joined: Fri Dec 15, 2006 1:41 am

Re: Add an A/B slider to Compare Tool

Post by wOLVERINe »

Issue not found :(

Edit: found it here: https://www.xnview.com/mantisbt/view.php?id=2828
wOLVERINe
Posts: 11
Joined: Fri Dec 15, 2006 1:41 am

Re: Add an A/B slider to Compare Tool

Post by wOLVERINe »

Looking forward for the 1.4.6 release so I can test it :)
User avatar
masterjp
Posts: 471
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: Add an A/B slider to Compare Tool

Post by masterjp »

For quality, compression or other comparison it is a fantastic solution! :)
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
User avatar
RGhost
Posts: 47
Joined: Sun Mar 30, 2008 10:51 am
Location: Moscow
Contact:

Re: Add an A/B slider to Compare Tool

Post by RGhost »

Oh, cool!
Looking forward to test it!
Royal Ghost | http://veda3d.com
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Add an A/B slider to Compare Tool

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.5.0 beta. Please check and confirm the bug fix here.
Pierre.
User avatar
RGhost
Posts: 47
Joined: Sun Mar 30, 2008 10:51 am
Location: Moscow
Contact:

Re: Add an A/B slider to Compare Tool

Post by RGhost »

xnview wrote: Fri Jun 16, 2023 4:11 pm This problem is supposed to be fixed in XnView MP 1.5.0 beta. Please check and confirm the bug fix here.
Works good!
Is it possible set as default A/B when launch Compare?
Royal Ghost | http://veda3d.com
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Add an A/B slider to Compare Tool

Post by xnview »

RGhost wrote: Mon Jun 19, 2023 1:03 pm Is it possible set as default A/B when launch Compare?
yes right, will save the current mode in b2
Pierre.
simon
Posts: 93
Joined: Wed Aug 23, 2006 4:51 pm

Re: Add an A/B slider to Compare Tool

Post by simon »

Hello,
The new tool A/B is great! However, currently, this tool works only when 2 images have been initially selected. Thus, if I initially compare 3 or 4 images, and then remove or delete 1 or 2 to keep only 2, the slider A/B cannot be activated (at least on windows 10 64 bits). It would be even greater if the tool could be activated whenever 2 images (with the same size) are present, irrespective of the number of images initially compared
Thanks
simon
Nicolas
Posts: 41
Joined: Wed Nov 10, 2021 10:04 pm
Location: France

Re: Add an A/B slider to Compare Tool

Post by Nicolas »

Is this new slider limited to some kind of files? It works great on .jpg but when I use tiff files the 'A/B' option cannot be selected ('normal' and 'tabs' are working as usual). I'm running 1.5b3, macOS 12.6.7
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Add an A/B slider to Compare Tool

Post by xnview »

Nicolas wrote: Fri Jun 23, 2023 10:22 am Is this new slider limited to some kind of files? It works great on .jpg but when I use tiff files the 'A/B' option cannot be selected ('normal' and 'tabs' are working as usual). I'm running 1.5b3, macOS 12.6.7
the image size need to be the same
Pierre.
simon
Posts: 93
Joined: Wed Aug 23, 2006 4:51 pm

Re: Add an A/B slider to Compare Tool

Post by simon »

No such problem for me on win 10. I can use the slider A/B on files of different format, e.g. a .tif vs. a .jpg file. The only (quite obvious) constraints are
1) Only two files can be compared with the slider, where the other modes accept 2 to 4 files
2) the two files must have exactly the same width and height
Post Reply