Oh interesting, I remember comparing images before, I think I was doing a diff as well, so I suppose this would have worked? Nice to know! They were very small images though.
It probably would have added the overhead from compression which in my case would have been detrimental.