$ 0 0 Do 'Actual.Image' and 'Expected.Image' have the same dimensions? And does the problem disappear when you only check them if they have the same size? This might be a bug in ImageMagick.