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
always:
Code: Select all
Warning: gzuncompress() [function.gzuncompress]: data errorrepresented in PDF 1.2 as:
x?3?3T0 A(??ËU?U¨` ƒQÉ?
N!\úA¦
F
!i\ ?†
?F
? @‘\.
?Ô??|…?ü?? Í ,.× …@®@. €r „
but after I compress "Hello world" in PHP I get:
xϗHꃃW(?/?I ? =
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.