Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Postscript delegate failed - No such file or directory @ error/pdf.c/ReadPDFImage/682

$
0
0
Well.

It has to be with the parameters of Magick.net.

Do you remember the post Magick net parameters?

I followed your suggestion and I'have included this piece of code when I use Magick.Net:
  if (magickLogDebugInfo)
  {
                    MagickNET.SetLogEvents(LogEvents.All);
                    MagickNET.Log += MagickNET_Log;

                    Logger.Info("Habilitado el log de información de Debug de Magick.Net");
  }

  if (!string.IsNullOrEmpty(magickTemporaryDir))
  {
                    MagickNET.SetTempDirectory(magickTemporaryDir);

                    Logger.Info("Magick temporary dir : " + magickTemporaryDir);
  }
  else
  {
                    Logger.Info("Magick temporary dir : por defecto");
  }

  if (magickMemoryLimit > 0)
  {
                    ImageMagick.ResourceLimits.Memory = magickMemoryLimit;

                    Logger.Info("Magick memory limit : " + magickMemoryLimit.ToString());
  }
  else
  {
                    Logger.Info("Magick memory limit : por defecto");
  }
Basically, I check for non null/non empty parameters to either use then or the defaults.

The problems that are the origin of this post happens when I run my code with parameters having some values, all of them.

But if I make then null, empty or zero respectivelly, and I create the environment variables as I pointed in "Magick net parameters", then I've got NO problem with Gostscript.

Is it that I'm missing some configuration or perhaps I'm doing something wrong?

Thanks!!

Viewing all articles
Browse latest Browse all 3693

Trending Articles