Getting error while converting pdf to png
Posted: 2009-04-08T05:46:25-07:00
Hi..
I am using GhostScript 8.64, ImageMagick is 6.5.1 and delegates what i have installed are : bzlib fontconfig freetype gs jpeg lcms png rsvg tiff x11 xml wmf zlib. Actually ImageMagick was working fine but today I uploaded one pdf for conversion and it was not converting with php code. So I tried manually then i got this error (below). I dont know what is this problem. Please help to solve this.
warning: ignoring zlib error: incorrect data check
Error: /typecheck in --setlinejoin--
Operand stack:
--nostringval-- --dict:8/17(L)-- (Planetary Solutio1e4j\n/F15 1F5.1522 TD \n-0.0001 Tc\n-0.00gu\n[\(eh.com\)j\n/F13 1 Tf\nT*\n0 Tc\n-0.0001 Tw\n\(2030 17t h St.\)Tj\nT*\n-0.0001 Tc\n0.0001 Tw\n[\(Boulder\)73.8\(, CO 80302 \)]TJ\nT*\n0 Tc\n1 Tc\n-303-442-6228 ) (Planetary Solutio1e4j\n/F15 1F5.1522 TD\n-0.0001 Tc \n-0.00gu\n[\(eh.com\)j\n/F13 1 Tf\nT*\n0 Tc\n-0.0001 Tw\n\(2030 17th St.\)Tj\nT *\n-0.0001 Tc\n0.0001 Tw\n[\(Boulder\)73.8\(, CO 80302 \)]TJ\nT*\n0 Tc\n1 Tc\n-3 03-442-6228 ) 2
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_ pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 262 1 320 --nostringval-- %for_pos_int_continue --nostringval-- --nostringva l-- --nostringval-- --nostringval-- %array_continue --nostringval-- fa lse 1 %stopped_push --nostringval-- %loop_continue 1743 3 10 %op array_pop --nostringval--
Dictionary stack:
--dict:1152/1684(ro)(G)-- --dict:1/20(G)-- --dict:74/200(L)-- --dict:74 /200(L)-- --dict:106/127(ro)(G)-- --dict:278/300(ro)(G)-- --dict:22/25(L)- - --dict:4/6(L)-- --dict:22/40(L)-- --dict:14/20(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.64: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/home/freado/public_html/cdn/book/uploads/4 27/4c3048f8619c38735ceed82a095ed2021239113060.pdf': No such file or directory @ pdf.c/ReadPDFImage/612.
convert: missing an image filename `/home/freado/public_html/cdn/book/converted/ 762/page.png' @ convert.c/ConvertImageCommand/2775.
Sanoj
I am using GhostScript 8.64, ImageMagick is 6.5.1 and delegates what i have installed are : bzlib fontconfig freetype gs jpeg lcms png rsvg tiff x11 xml wmf zlib. Actually ImageMagick was working fine but today I uploaded one pdf for conversion and it was not converting with php code. So I tried manually then i got this error (below). I dont know what is this problem. Please help to solve this.
warning: ignoring zlib error: incorrect data check
Error: /typecheck in --setlinejoin--
Operand stack:
--nostringval-- --dict:8/17(L)-- (Planetary Solutio1e4j\n/F15 1F5.1522 TD \n-0.0001 Tc\n-0.00gu\n[\(eh.com\)j\n/F13 1 Tf\nT*\n0 Tc\n-0.0001 Tw\n\(2030 17t h St.\)Tj\nT*\n-0.0001 Tc\n0.0001 Tw\n[\(Boulder\)73.8\(, CO 80302 \)]TJ\nT*\n0 Tc\n1 Tc\n-303-442-6228 ) (Planetary Solutio1e4j\n/F15 1F5.1522 TD\n-0.0001 Tc \n-0.00gu\n[\(eh.com\)j\n/F13 1 Tf\nT*\n0 Tc\n-0.0001 Tw\n\(2030 17th St.\)Tj\nT *\n-0.0001 Tc\n0.0001 Tw\n[\(Boulder\)73.8\(, CO 80302 \)]TJ\nT*\n0 Tc\n1 Tc\n-3 03-442-6228 ) 2
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_ pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 262 1 320 --nostringval-- %for_pos_int_continue --nostringval-- --nostringva l-- --nostringval-- --nostringval-- %array_continue --nostringval-- fa lse 1 %stopped_push --nostringval-- %loop_continue 1743 3 10 %op array_pop --nostringval--
Dictionary stack:
--dict:1152/1684(ro)(G)-- --dict:1/20(G)-- --dict:74/200(L)-- --dict:74 /200(L)-- --dict:106/127(ro)(G)-- --dict:278/300(ro)(G)-- --dict:22/25(L)- - --dict:4/6(L)-- --dict:22/40(L)-- --dict:14/20(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.64: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/home/freado/public_html/cdn/book/uploads/4 27/4c3048f8619c38735ceed82a095ed2021239113060.pdf': No such file or directory @ pdf.c/ReadPDFImage/612.
convert: missing an image filename `/home/freado/public_html/cdn/book/converted/ 762/page.png' @ convert.c/ConvertImageCommand/2775.
Sanoj