Tools for processing PDF content
A comprehensive suite of PDF processing tools for Dify, enabling various PDF operations like page extraction, counting, and splitting.
PDF Process is a collection of powerful tools designed to perform various PDF operations within the Dify environment. Each tool is specialized for specific PDF manipulation tasks, making it easy to integrate PDF processing capabilities into your workflows.
All page numbers in this plugin are 1-indexed, meaning the first page of any PDF is page 1, the second is page 2, and so on.
Extracts a specific page from a PDF file and saves it as a new PDF.
Parameters:

Extracts specified pages from a PDF file. Supports flexible page specifications like ranges ("1-3"), individual pages ("1,2,3"), or combinations ("1-3,5"). Optionally includes a set of fixed pages before the dynamic pages. The order of pages and any duplicates specified in the input strings are preserved in the output PDF.
Parameters:

Counts the total number of pages in a PDF file.
Parameters:

Splits a PDF file into multiple individual PDF files, creating a separate file for each page.
Parameters:

Converts each page of a PDF file into high-quality PNG images with configurable zoom settings.
Parameters:

This project is licensed under the MIT License. See the LICENSE file for details.
This project uses the following third-party libraries:
Important: PyMuPDF is dual-licensed under AGPL-3.0 for open source projects or requires a commercial license for proprietary use. Please review the LICENSE file for complete licensing information and compliance requirements.
Created by Kalo Chin