Problem when convert from PDF to JPG on 64bit OS

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
namle2605
Posts: 6
Joined: 2012-11-06T23:38:14-07:00
Authentication code: 67789

Problem when convert from PDF to JPG on 64bit OS

Post 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,
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
Post Reply