If you upload a photo somewhere, for instance to Flickr as I do, you might not be interested in exposing all the metadata a file contains.
I have started to use the excellent exiftool to manage the metadata exposed on photos that are publicly available.
I came across this excellent webpage, which is a good read.
BEWARE: The example below preserves Artist and CopyRight tags, which might give away your email.