sheshant / pdf2image

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

Get invalid json after running pdf2image #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run "pdf2image AGENDAFC_CASTLE_2208.pdf -JSON -compress"
2. And get invalid json "AGENDAFC_CASTLE_2208.js"
3. It contains {"t":188,"l":255,"w":8,"h":15,"f":14,"d":"?}

What is the expected output? What do you see instead?

I;m actually working on a ios app, it pulls pdf texts via json api, and giving 
it valid jsons would be of great help, say
{"t":188,"l":255,"w":8,"h":15,"f":14,"d":"?"} instead of 
{"t":188,"l":255,"w":8,"h":15,"f":14,"d":"?}.

It looks like a easy-to-fix, could you pls help me out? your help will be 
appreciated.

What version of the product are you using? On what operating system?

pdf2image version 0.49 http://flexpaper.devaldi.com/pdf2image/, based on Xpdf 
version 3.02

GPL Ghostscript 9.04 (2011-08-05)

Microsoft Windows 7 [Version 6.1.7601]

Please provide any additional information below.

Original issue reported on code.google.com by liy...@gmail.com on 20 Nov 2011 at 5:50

Attachments:

GoogleCodeExporter commented 8 years ago
And upgrading to 0.50 doesn't help. Here I posted a compiled bin of pdf2image 
0.50.

BTW, you guys are surely making pdf file more easier to access, thank you 
sincerely.

Original comment by liy...@gmail.com on 21 Nov 2011 at 5:26

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in 0.51

Cheers

Original comment by pdf2im...@devaldi.com on 29 Dec 2011 at 5:36