Can we compare two images with different resolution?

Hello, I have 2 images with different resolution but image is same; so I need to verify both images are same.

I tried with below code but it works only when same resolution images are available,
def ratio = CustomKeywords.‘kms.turing.katalon.plugins.visualtesting.ImageComparison.getDifferenceRatio’(“E:\123.jpg”, “E:\456.jpg”, FailureHandling.CONTINUE_ON_FAILURE)

println('Ratio : ’ + ratio)

hi,

yes, with external java keyword, check from web (google)
here example