md5 test for the image formats