PDF to JPG created with Acrobat 9 Problem
Posted: 2010-07-22T14:11:46-07:00
Hello,
When i create a PDF using Acrobat 8.2.1 and try to convert it to a JPG everything works great.
When i create the same exact PDF using Acrobat 9.2.0 i receive the following error message:
Error: /syntaxerror in readxref
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1060/1417(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:73/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:14/15(L)--
Current allocation mode is local
This is the code that I'm using to create the JPGs:
$temp = exec("convert -colorspace RGB -interlace none -quality 70 -density 72 test.pdf sample.jpg", $output, $result);
If anyone has any ideas on how to fix this please let me know.
Thanks!
-Pat
When i create a PDF using Acrobat 8.2.1 and try to convert it to a JPG everything works great.
When i create the same exact PDF using Acrobat 9.2.0 i receive the following error message:
Error: /syntaxerror in readxref
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1060/1417(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:73/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:14/15(L)--
Current allocation mode is local
This is the code that I'm using to create the JPGs:
$temp = exec("convert -colorspace RGB -interlace none -quality 70 -density 72 test.pdf sample.jpg", $output, $result);
If anyone has any ideas on how to fix this please let me know.
Thanks!
-Pat