maltek709/selenium-screenshot

Compare images of different dimension

Opened this issue · 1 comments

ImageMagick itself is not capable of comparing images with different dimensions. It needs a workaround to solve this issue. Maybe by cutting images in parts and comparing every part of the same size presenting the same view level.

ImageMagick cmd: convert src.png -crop 1617x960 dst.png
Divides Image to parts with dim 1617x960.