The solution to this problem in my situation was to set the environment variable for ImageMagick directly in the code where I called the process.
System.Environment.SetEnvironmentVariable("Path", @"C:\Program Files\ImageMagick-6.9.0-Q16");
Obviously, even if the environment variable is set on the server, it may not find it due to the difference in runtime.
Stavros_s
source share