yob / pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
MIT License
1.8k stars 269 forks source link

PDF::Reader::MalformedPDFError (PDF malformed, expected 'endstream' but found '1' instead) #519

Open papayalabs opened 1 year ago

papayalabs commented 1 year ago

Trying to read this pdf --> h7E6IP36VnmkCJjM3dWL_0.pdf

PDF::Reader.new("h7E6IP36VnmkCJjM3dWL_0.pdf").page(1).text

Got PDF::Reader::MalformedPDFError (PDF malformed, expected 'endstream' but found '1' instead)

Additional Info: gem "pdf-reader", "~> 2.11"

luciajanikova commented 6 months ago

I am +1 for this issue