Suppose you have a PNG graphics file that you want to place on your web page but its background is white, whereas your web page is blue. Make the PNG background transparent with:
$ convert -transparent white example.png exampleT.png