Page 1 of 1

Problem when convert from PDF to JPG on 64bit OS

Posted: 2013-08-29T01:59:03-07:00
by namle2605
When I convert my PDF to JPG. I got below error message:

Code: Select all

>convert /tmp/2147.pdf /tmp/2147.jpg
Error: /syntaxerror in pdfopen
Operand stack:
   (/tmp/gs_zuzB19)   (<<\n  /ASCII85EncodePages false\n /AllowTransparency false\n  /AutoPositionEPSFiles true\n /AutoRotatePages /All\n  /Binding /Left\n  /CalGrayProfile \(Dot Gain 20%\)\n  /CalRGBProfile \(sRGB IEC61966-2.1\)\n  ...)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval-- --nostringval--   2   %stopped_push   --nostringval-- --nostringval--   --nostringval--   false   1   %stopped_push 1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   1845 1   3   %oparray_pop   --nostringval--   --nostringval-- %array_continue   --nostringval--   --nostringval-- --nostringval--   --nostringval--
Dictionary stack:
   --dict:1155/1684(ro)(G)--   --dict:1/20(G)-- --dict:75/200(L)--   --dict:75/200(L)--   --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)--   --dict:7/15(L)--
Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/tmp/2147.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/679.
convert: no images defined `/tmp/2147.jpg' @ error/convert.c/ConvertImageCommand/3044. 
My environment:
- CentOS 6.2 64Bit
- ImageMagick 6.7.9-10 2012-10-12 Q16
- Ghostscript 8.70
- DELEGATES bzlib fontconfig freetype jpeg jng jp2 lcms pango png tiff x11 xml zlib
I execute same command on CentOS 5 32 bit(with the same config and version of others). And It is successful.
And This is my pdf file:https://www.dropbox.com/s/j5wl3fkry2wapxv/2174.pdf

Thanks and best regard,

Re: Problem when convert from PDF to JPG on 64bit OS

Posted: 2013-08-29T09:45:42-07:00
by snibgo
A more recent IM and Ghostscript fails on that PDF file.

A reasonably current Adobe Reader X v10.1.7 can't read it either.