Re: G::O::I based bindings and problem passing char array ref

warn my $d = Poppler::Document->new_from_data ($data, length
$data); ---

Does it not work for you?

No - I get "PDF document is damaged at
line 58."

What version of Poppler do you have?

0.41.0, and G:O:I from Git, but I don't think there were any recent
changes that are relevant.  Does this happen for all PDF files you

Yes - I spent quite some time a few months ago working on this with different
PDFs, different attempts at data conversion, etc. I get that error with
your exact code (except for the filename, of course) with any PDF. If
it "just works" for you, I'll spend some time updating all relevant
libs on my system to see if that helps.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]