Search code examples
clinuxpdflibharu

Read Pdf with C


I want to be able to read the content of pdf files. I need to do that with C on Linux.

The closer i can get to this was here but I think Haru can only create pdf and is not able to read them (not 100% sure).

PS: I only need the plain text from pdf


Solution

  • Check out libpoppler. I've never used it work extracting text, just querying PDF attributes. It's pretty easy to use.