Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 24, 2009, 9:03 pm
rate this thread
I was trying to use some of the pdf2text classes, from for example
php.net. However, with every of them I cannot read any compressed
data. I think the problem might be with gzuncompress. It shows
Warning: gzuncompress() [function.gzuncompress]: data error
I checked the pdf files from inside. Words "Hello world" are
represented in PDF 1.2 as:
but after I compress "Hello world" in PHP I get:
Do you know how to get this problem fixed? I just would like to read
data from PDF using PHP. I tried running external programs from PHP,
but this is not what I need.