Elixir bindings for pdf_oxide, a high-performance PDF library written in Rust.
Summary
Functions
Opens a PDF document from the given binary data.
See PdfElixide.Document.from_binary/1.
Opens a PDF document from the given binary data, raising an error if it fails.
See PdfElixide.Document.from_binary!/1.
Opens a PDF document from the specified file path.
See PdfElixide.Document.open/1.
Opens a PDF document from the specified file path, raising an error if it fails.
See PdfElixide.Document.open!/1.
Functions
@spec from_binary(binary()) :: {:ok, PdfElixide.Document.t()} | {:error, term()}
Opens a PDF document from the given binary data.
See PdfElixide.Document.from_binary/1.
@spec from_binary!(binary()) :: PdfElixide.Document.t()
Opens a PDF document from the given binary data, raising an error if it fails.
See PdfElixide.Document.from_binary!/1.
@spec open(Path.t()) :: {:ok, PdfElixide.Document.t()} | {:error, term()}
Opens a PDF document from the specified file path.
See PdfElixide.Document.open/1.
@spec open!(Path.t()) :: PdfElixide.Document.t()
Opens a PDF document from the specified file path, raising an error if it fails.
See PdfElixide.Document.open!/1.