> I am receiving mysterious ioerror failures when using ImageMagick 6.3.6

We injected the code you have in gst.c in IM's coders/pdf.c and still got
the ioerror.  We also tried muliple sample PDF's and they all converted
by calling the GS API without complaint.  The only thing we can surmise is that
one of the delegate libraries ImageMagick links to is interfering with the GS
api for your sample.pdf document.  A workaround for now is to call
SystemCommand() if gs_func->run_string returns an error:

  if ((status == 0) || (status <= -100))
    {
      (void) LogMagickEvent(CoderEvent,GetMagickModule(),
        "Ghostscript returns status %d, exit code %d",status,code);
      return(SystemCommand(verbose,command) != 0 ? MagickTrue : MagickFalse);
    }
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers

Reply via email to