Page 1 of 1

Haru PDF library

Posted: 2011-04-04T05:36:06-07:00
by pieland
I am trying to convert PDF documents created with the Haru PDF Library to JPG pages and it fails allways. Viewing these documents in the Adobe viewer works perfectly. This is on Centos 5.4 and the ImageMagick version is ImageMagick-6.2.8.0-4.el5_5.3. Other PDF's convert without an issue. The error is:
[root@gaptest tmp]# convert out.pdf out.jpg
ERROR: /invalidaccess in --def--
Operand stack:
--dict:5/5(L)-- F3 18 --dict:9/9(L)-- --dict:9/9(L)-- 1299 --dict:9/9(L)-- --nostringval-- false prebuilt_encoding --nostringval--
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 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 3 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1127/1686(ro)(G)-- --dict:0/20(G)-- --dict:107/200(L)-- --dict:107/200(L)-- --dict:104/127(ro)(G)-- --dict:241/347(ro)(G)-- --dict:20/24(L)-- --dict:4/6(L)-- --dict:22/31(L)-- --dict:1/1(ro)(G)--
Current allocation mode is local
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
convert: Postscript delegate failed `out.pdf'.
convert: missing an image filename `out.jpg'.

Any ideas ?

Marty

Re: Haru PDF library

Posted: 2011-04-04T16:39:20-07:00
by anthony
You IM is very old. Though that is not a problem.

But if you IM is very old, your ghostscript is probably just as old, and that is likely the problem.

Can anyone else give something more definite about Haru produce PDF?