sheshant / pdf2image

Automatically exported from code.google.com/p/pdf2image
0 stars 0 forks source link

Does not convert PDF with images #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Extract pdf2image-0.49.tar.gz, replace aconf.h with the latest from source, 
make and install.
2. Run "pdf2image cpi.pdf -JSON -compress" against the attached PDF file.

What is the expected output? What do you see instead?
Expect to see cpi.js and several PNG files. Instead, I get this:

Page-1
Page-2
Page-3
Page-4
Page-5
Page-6
Page-7
Page-8
Page-9
Page-10
Page-11
Page-12
Page-13
Page-14
Page-15
Page-16
Page-17
Page-18
Page-19
Error: /ioerror in --image--
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   1814   1   8   %oparray_pop
Dictionary stack:
   --dict:1161/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--   --dict:65/75(L)--   --dict:18/25(L)--   --dict:0/15(L)--   --dict:0/15(L)--   --dict:2/15(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 20481
GPL Ghostscript 9.01: Unrecoverable error, exit code 1
Error: Failed to launch Ghostscript!

What version of the product are you using? On what operating system?
pdf2image-0.49 on Ubuntu 11.04

Original issue reported on code.google.com by dougtma...@gmail.com on 28 Aug 2011 at 6:02

Attachments: