pdf optimisation

Michael Still mikal at stillhq.com
Tue Feb 19 19:08:35 EST 2002


On Tue, 19 Feb 2002, John Griffiths wrote:

> >According to my documentation, it's implemented by the program 'pdfopt'
> >
> >Basic usage is 'pdfopt infile outfile', the files must not be the same.
> >
> >Cheers,
> >
> >--
> >Matt
>
> Ok,
>
> so this is what I get:
>
> $ pdfopt f198555.pdf a.pdf
> Error: /invalidfileaccess in --file--
> Operand stack:
>    --nostringval--   --nostringval--   (a.pdf)   (w)
> 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   .runexec2   --nostringval--
> --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
> --nostringval--   --nostringval--   --nostringval--
> Dictionary stack:
>    --dict:1003/1476(ro)(G)--   --dict:0/20(G)--   --dict:98/200(L)--
> Current allocation mode is local
> Current file position is 30182
> GNU Ghostscript 6.53: Unrecoverable error, exit code 1

This looks a lot like a ghostscript parser error. Can you send me a copy
of the PDF that is giving you problems?

Mikal

-- 

Michael Still (mikal at stillhq.com)     UMT+11hrs





More information about the linux mailing list