Bug 1054326: Initial attempt to submit Imagecompare test framework and test cases int...

...o the main branch
Oh, this checks whether the image is taken in landscape mode, and if that's the case, it crops the top by the 1/24 of horizontal dimension rather than the vertical dimension.  If I don't do this, then it crops too little.