What is the basis of comparison between two images in visual regression automation testing?

On what basis do you compare two images?

Hello Noah,

Visual Regression automation in LambdaTest does pixel to pixel comparison between two images with granularity threshold upto 1200.