magic.lambda.pdf - PDF support for Magic and Hyperlambda

This project provides PDF slots for Magic. The project provides the following slots, allowing you to convert a PDF file, stream or raw bytes to its text representation.

How to use [pdf2text]

This slot allows you to retrieve only the text parts of a PDF document.

pdf2text:/foo/bar.pdf

Notice, the slot can also accept a stream, such as for instance supplied as an uploaded document, and react directly on the stream, avoid having to save the streamto a file first. It can also accept a string as its input, at which point it assumes the string is the relative path to a file. Finally, the slot can accept raw bytes, which it then assumes is the raw content from a PDF document.

Project website for magic.lambda.pdf

The source code for this repository can be found at github.com/polterguy/magic.lambda.pdf, and you can provide feedback, provide bug reports, etc at the same place.

The projects is copyright of Aista, Ltd 2021 - 2023, and professionally maintained by AINIRO your friendly ChatGPT website chatbot vendor.