Earlier quoted context omitted.
BBC News' wraith[1] is a pretty great tool for this, although it doesn't really support a more complex web app flow (e.g. logging in) very well. [1] https://github.com/BBC-News/wraith .
If you need workflows, there's also VisualReview [1] with some basic workflow for approval testing, and Applitools [2], a commercial tool with integration with Selenium, Appium and Protractor that can do screenshot and video comparisons. I wrote about them as part of the 'Automated testing: back to the future' tools review [3]. In the article, I also mentioned DomReactor, but that seems to be discontinued now. [1] ht…
Image-diff – Create an image differential between two images
11–20 of 27 posts
Re: Image-diff – Create an image differential between two images
#12Re: Image-diff – Create an image differential between two images
#13Once upon a time (several years back), I worked on one. The intent therein was two compare images produced by different versions of a product. As such, one of the major features was motion detection [0] (apart from computing deltas between the images). We made use of OpenCV [1].
Re: Image-diff – Create an image differential between two images
#14Earlier quoted context omitted.
BBC News' wraith[1] is a pretty great tool for this, although it doesn't really support a more complex web app flow (e.g. logging in) very well. [1] https://github.com/BBC-News/wraith .
If you need workflows, there's also VisualReview [1] with some basic workflow for approval testing, and Applitools [2], a commercial tool with integration with Selenium, Appium and Protractor that can do screenshot and video comparisons. I wrote about them as part of the 'Automated testing: back to the future' tools review [3]. In the article, I also mentioned DomReactor, but that seems to be discontinued now. [1] ht…
Re: Image-diff – Create an image differential between two images
#15Not sure I follow - especially if it already depends on IM, how is it different from 'convert -compose difference' or a similar operator? http://www.imagemagick.org/Usage/compose/#difference
Re: Image-diff – Create an image differential between two images
#16This sort of thing + headless browser makes for nice regression testing.
Re: Image-diff – Create an image differential between two images
#17This is cool, and a good idea. I will try it out, but I can highly recommend the existing pdiff utility for your image regression testing. http://pdiff.sourceforge.net Pdiff allows you to specify perceptual thresholds of visibility, so diffs that are not pixel perfect can still pass if they're 'good enough'. Semi-critical if you render the input images using different browsers or at different resolutions, or if your…
Why is it a bonus besides lowering the number of dependencies?
Re: Image-diff – Create an image differential between two images
#18Re: Image-diff – Create an image differential between two images
#19Or you can import the two images into graphics software like gimp. Invert the colours in the top image, then knock transparency for that layer down to 50%. If the images are identical, you'll just see grey. Any differences will instantly become visible.
Re: Image-diff – Create an image differential between two images
#20Or you can import the two images into graphics software like gimp. Invert the colours in the top image, then knock transparency for that layer down to 50%. If the images are identical, you'll just see grey. Any differences will instantly become visible.
Now automate it for 200 screenshots