webdriver-image-comparison icon indicating copy to clipboard operation
webdriver-image-comparison copied to clipboard

Support big screenshot

Open ryuran opened this issue 4 years ago • 1 comments

Environment (please complete the following information):

  • webdriver-image-comparison version: 0.13.2

Describe the bug Web driver Image fail on big images.

Given error :

invalid value (typically too big) for the size of the input (surface, pattern, etc.)

https://github.com/Automattic/node-canvas/issues/1374

To Reproduce Try with an image ~40000px long.

Expected behavior webdriver-image-comparison should be able to manage big images (useful for full page screen shot).

Log

invalid value (typically too big) for the size of the input (surface, pattern, etc.)

Additional context this comment advice to split the image to avoid this issue.

ryuran avatar Apr 12 '20 10:04 ryuran

Thanks for this issue, I'll take a look at it when I have some more time

wswebcreation avatar Apr 12 '20 17:04 wswebcreation