jsc
12 years agoRegular Contributor
help on color tolerance needed
Hi all,
in my test 1-2 screenshots regularly fail on low color tolerance. I first tried to handle it by using pixel tolerance, but the failing pixels were too much.
But the color difference is just 4%.
I know, that the parameter has the range of 0 ... 255 representing the rgb spectrum, but I do not really know how to use it.
can someone explain me
1) how can I set the color tolerance to accept slight changes in red?
2) how can I set the color tolerance to accept slight changes in blue?
3) how can I set the color tolerance to accept slight changes in green?
4) how can I set the color tolerance to accept slight changes in grey?
5) how can I set the color tolerance to 4%?
I read all the documentation but there are no real exaples, there is just said that 0 needs identical pixels and 255 accepts even 2 different images, that's not too helpful.
thanks & best regards,
Joachim
in my test 1-2 screenshots regularly fail on low color tolerance. I first tried to handle it by using pixel tolerance, but the failing pixels were too much.
But the color difference is just 4%.
I know, that the parameter has the range of 0 ... 255 representing the rgb spectrum, but I do not really know how to use it.
can someone explain me
1) how can I set the color tolerance to accept slight changes in red?
2) how can I set the color tolerance to accept slight changes in blue?
3) how can I set the color tolerance to accept slight changes in green?
4) how can I set the color tolerance to accept slight changes in grey?
5) how can I set the color tolerance to 4%?
I read all the documentation but there are no real exaples, there is just said that 0 needs identical pixels and 255 accepts even 2 different images, that's not too helpful.
thanks & best regards,
Joachim