public static void ToJpg(string fileName) { string arguments = " " + fileName + ".dcm " + fileName + ".jpeg"; StaticCommandLineProcess.Start("toJpg/dcmcjpeg", arguments); Thread.Sleep(50); }
public static void ToXml(string fileName) { string arguments = " " + fileName + " " + fileName + ".xml"; StaticCommandLineProcess.Start("dcm2xml", arguments); Thread.Sleep(50); }