On Fri, 10 Jun 2022 07:16:46 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> How to find those 2 bufferedimages returned by 
>> `createMultiResolutionScreenCapture `and `createScreenCapture `are same or 
>> not apart from pixel check (which shows obviously they are not same and 
>> color differ by 1)?
>
> Probably we can apply the defensive fix of color tolerance as per 1st 
> iteration ?

It still fails once or twice with createMultiResolutionScreenCapture if the 
test iteration is increased, so I think color tolerance, even if defensive, is 
the one to go for.

-------------

PR: https://git.openjdk.org/jdk/pull/9011

Reply via email to