View Source PdfToText (PdfToText v0.0.1)

PdfToText gives you the text content of a PDF.

If you have the PDF file content at hand, use from_content/1, if you have a file, use from_path/1.

Link to this section Summary

Functions

Extracts text from the pdf file content given

Extracts text from the pdf file given by its path.

Link to this section Functions

Link to this function

from_content(pdf_content)

View Source
@spec from_content(String.t()) :: String.t()

Extracts text from the pdf file content given

@spec from_path(String.t()) :: String.t()

Extracts text from the pdf file given by its path.