in reply to Selenium Screenshot
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, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Selenium Screenshot
by Chaoui05 (Scribe) on May 24, 2016 at 13:00 UTC | |
|
Re^2: Selenium Screenshot
by Chaoui05 (Scribe) on May 24, 2016 at 13:13 UTC | |
by Corion (Patriarch) on May 24, 2016 at 13:18 UTC | |
by Chaoui05 (Scribe) on May 24, 2016 at 13:41 UTC |