EPS/PDF Error

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
pnealy
Posts: 1
Joined: 2016-09-04T09:25:37-07:00
Authentication code: 1151

EPS/PDF Error

Post by pnealy »

I am using the COM object in a vbscript web page and I get various errors while trying to convert a PDF or EPS to any other file format. My first issue was not having GhostScript installed and I found past posts that got me past that error. I am now getting something that I just don't know how to google for a solution.

Any help that would send me in the right direction to diagnose this would be greatly appreciated

Error Type:
ImageMagickObject.MagickImage.1 (0x80041771)
convert: 415: Postscript delegate failed `[ghostscript library 9.19] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1200x1200 -dEPSCrop "-sOutputFile=C:/WINDOWS/TEMP/magick-18232OoEMqXIHGCbQ%d" "-fC:/WINDOWS/TEMP/magick-18232EGedeD3JO35l" "-fC:/WINDOWS/TEMP/magick-18232VjTk2Tyjec6g" -c showpage: (null)' @ error/ps.c/ReadPSImage/949:
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: EPS/PDF Error

Post by fmw42 »

I am no expert on this or Windows, COM, VBScript. But can you run the conversion directly from Ghostscript? If so, then can you run the IM command from the command line? Just checking to see where the problem resides.

To be honest, converting a vector file to a vector file in IM is not the best way. IM will rasterize the EPS, then put a vector shell around the raster file for the PDF. So you will not get a vector PDF.
Post Reply