terriblelabs/motion-juxtapose — pull request #7 by mdenomy (2014-02-22 03:48:23+00:00)
Title: Check that image sizes match before compare

ImageMagick can hang when comparing images of different sizes. Check that accepted and current are the same size before doing compare.

Also extracted the compare logic into a private method. May want to extract compare and size check into a wrapper class at some point, but seems OK for now.