RFR: 8326027: Comparing buffered images of white background frame fails in Mac

Tejesh R tr at openjdk.org
Fri Aug 30 04:56:17 UTC 2024


On Thu, 29 Aug 2024 12:58:11 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> I wonder whether the tolerance wouldn't be required if `Robot.createMultiResolutionScreenCapture` was used to create the screenshot and then analysing the original image which didn't go through down-scaling in High DPI environment.

Yes, I have observed that some of the HiDPI image capture have this shades of pixels from expected which would require tolerance to be considered while comparing.

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

PR Comment: https://git.openjdk.org/jdk/pull/20760#issuecomment-2320045167


More information about the client-libs-dev mailing list