I'm wondering if there's a hash for images that is made from the pixel data instead of the binary data. This way, a bmp would have the same hash as a png (or gif or flif or etc.) if the image were exactly the same, and a jpg converted to png would have the same hash before and after since png would keep the jpg's artifacts.
I often use lossless compression on my images, which changes their hash. This can be bad in some cases. For example, Hydrus shits itself if you change one byte of an image since it uses hashes to store and manage them.
Does this exist? Is such a thing even possible?