Hello Chaoui05,
Whether you’re using Selenium::Screenshot or Image::Compare, the images to be compared must have the same size. So you need to resize (at least one of) the images; for this you can use the scale method in the Imager module. This method is documented in Imager::Transformations.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: Selenium Screenshot
by Athanasius
in thread Selenium Screenshot
by Chaoui05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |