Difference between revisions of "Using ImageMagick with CSharp"
From MyWiki
(Created page with "https://stackoverflow.com/questions/4918207/how-to-use-imagemagick-with-c-sharp<br> <source lang="csharp"> string arguments = string.Format(@"-density 300 {0}.pdf {1}.png", i...") |
(No difference)
|
Latest revision as of 13:30, 25 October 2018
https://stackoverflow.com/questions/4918207/how-to-use-imagemagick-with-c-sharp
string arguments = string.Format(@"-density 300 {0}.pdf {1}.png", intputFileName, outputFileName"); var startInfo = new ProcessStartInfo { Arguments = arguments, Filename = @"C:\path\to\imagick\convert.exe" }; Process.Start(startInfo).WaitForExit();