Originally posted by kasracer
I wouldn't compare file sizes because if the images are not the same, they could still be the same size.
But i was talking about the other side: if they are not equal in size then they are not the same. If the same size then you should apply a method to compare them, and what i suggest doesnt check for pixels or that sort of thing. It checks if the whole content of image file (or memory stream) is the same, in a very simple way.