locked
ImageMagick Command Line RRS feed

  • Question

  • User-829096311 posted

    Hi
    I am new to ImageMagick and I want to use Fred's ImageMagick Scripts in asp.net

    I use this code to run simpler script

            Dim proc As New Diagnostics.Process()
            Dim arg As String = String.Format("convert  {0} -aspet 1:1 {1} ", Server.MapPath("~/images/") & "old.png", Server.MapPath("~/images/") & "new.png") 'work
            proc.StartInfo.Arguments = String.Format(arg)
            proc.StartInfo.FileName = Server.MapPath("Magick.exe")
            proc.StartInfo.UseShellExecute = False
            proc.StartInfo.CreateNoWindow = True
            proc.StartInfo.RedirectStandardOutput = False
            proc.Start()
            Response.Write(arg)
    

    But all script not work

    Saturday, February 11, 2017 2:05 AM

Answers