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

...o the main branch
I don't really understand this code (what's the magic number?) but let's answer the PIL question first.