made image hash use less bytes, add a test to compare 2 images that are scaled versions of eachother