Kent, In fact you are only missing one line: > gdcm::File f(&h); f.GetImageData(); //important in gdcm 0.6 > f.WriteDcmExplVR(OutputFilename); I guess we can add an example that anonymize in gdcm CVS, this will avoid the trouble next time. Mathieu