Microsoft has donated its PhotoDNA image matching technology to law enforcement agencies at no cost to help them fight child pornography.