0
converting PDF to JPG
에 대해 C#에서 웹 응용 프로그램을 만들었습니다. 명령 행을 통해 ImageMagick
을 사용했습니다.ImageMagick이 Windows 서버에서 작동하지 않습니다.
로컬에서는 정상적으로 작동하지만 서버에 업로드하면 작동하지 않습니다.
는public string appPath = "C:\\Program Files\\ImageMagick-6.5.3-Q16";
Process myProcess = new Process();
myProcess.StartInfo.FileName = appPath + @"\convert";
myProcess.StartInfo.Arguments = (@"-type truecolor -quality " + tbQuality.Text + " -colorspace " + cbColourSpace.SelectedValue.ToString().ToLower() + " -density " + tbDPI.Text + @" " + currentFile + resizeString + @" " + outputFile);
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
myProcess.StartInfo.CreateNoWindow = true;
myProcess.Start();
myProcess.WaitForExit();
이 예외없이 성공적으로 실행하지만, 어떤 JPG