예제 #1
0
        public static void ToJpg(string fileName)
        {
            string arguments = " " + fileName + ".dcm " + fileName + ".jpeg";

            StaticCommandLineProcess.Start("toJpg/dcmcjpeg", arguments);
            Thread.Sleep(50);
        }
예제 #2
0
        public static void ToXml(string fileName)
        {
            string arguments = " " + fileName + " " + fileName + ".xml";

            StaticCommandLineProcess.Start("dcm2xml", arguments);
            Thread.Sleep(50);
        }