Replace color -> Tolerance not working

Moderators: cday, XnTriq, helmut, xnview, Dreamer

Post Reply
101Bram
Posts: 1
Joined: Fri Jun 14, 2019 12:13 pm

Replace color -> Tolerance not working

Post by 101Bram » Fri Jun 14, 2019 12:16 pm

When I change value tolerance in the replace color action, it has no effect.

MacOS 10.14.5
XnConvert Version 1.80 - x64 (Mar 5 2019) - Libformat version 7.30

User avatar
xnview
Author of XnView
Posts: 31747
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Replace color -> Tolerance not working

Post by xnview » Wed Jun 19, 2019 12:46 pm

on which image do you try?
Pierre.

murahikaru1210
Posts: 1
Joined: Thu Aug 29, 2019 1:46 pm

Re: Replace color -> Tolerance not working

Post by murahikaru1210 » Thu Aug 29, 2019 1:53 pm

I am having the same problem,

I am using XnConvert Version 1.80 - windows x64 (Mar 2 2019) - Libformat version 7.26

OS version Windows 10 Home Ed, ver 1803

when trying to replace the green background with white in attached picture, it only removes the color I selected from screen,

regardless of the tolerance settings from 0 to 100; even after I removed the green channel and turned it into grey scale,

it still only replaces the grey color I selected, please help.

Thank you for such wonderful software, and thank you for helping us! :D
Attachments
292777.jpg
original file

User avatar
xnview
Author of XnView
Posts: 31747
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Replace color -> Tolerance not working

Post by xnview » Mon Sep 02, 2019 3:12 pm

which color do you use?
Pierre.

Jarlaxle
Posts: 2
Joined: Sat Sep 21, 2019 10:06 am

Re: Replace color -> Tolerance not working

Post by Jarlaxle » Sat Sep 21, 2019 10:12 am

Hi,
I have the same problem:
xnviewer_converter_change_color.jpg
File I try to convert:
Lucius_2_leather_warfrontsalliance_d_01_gold.png
Lucius_2_leather_warfrontsalliance_d_01_gold.png (140.68 KiB) Viewed 135 times
I try to change the blues into violets/indigo without touching Gold, and turn off all alphas/transparency. The second part (turning off alpha) work, tolerancy on color change, not so much.

Subject: 0.85: Batch Convert -> Color Change Tolerance

XnView MP 0.93.1 - 64 bit
OS: Windows 10 64bit

To reproduce:
1. Open XNView MP
2. Choose file to Batch Converter Lucius_2_leather_warfrontsalliance_d_01_gold.png
3. Choose
4. Chose in Action, Change Color -> color A from screen blue; color B Indigo; Tolerance 100 than 50

Actual behaviour (bug): Change only of exact color, no matter the number in tolerance :bug:

Expected behaviour: Change of colors and similar ones

User avatar
xnview
Author of XnView
Posts: 31747
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Replace color -> Tolerance not working

Post by xnview » Tue Sep 24, 2019 12:40 pm

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.

Jarlaxle
Posts: 2
Joined: Sat Sep 21, 2019 10:06 am

Re: Replace color -> Tolerance not working

Post by Jarlaxle » Wed Sep 25, 2019 4:22 pm

I was helpfull :D . Thanks for everything.

Post Reply