some ugly hacking to do bulk image comparisons