ImageFormat hashing