Skip to content

Refactor PDF processing tools to use MuPDF WASM#25

Merged
viralcodex merged 1 commit intomainfrom
build-and-remove-backend
Apr 4, 2026
Merged

Refactor PDF processing tools to use MuPDF WASM#25
viralcodex merged 1 commit intomainfrom
build-and-remove-backend

Conversation

@viralcodex
Copy link
Copy Markdown
Owner

  • Updated pdfToImages function to utilize MuPDF WASM for converting PDF pages to images, removing the dependency on the Python backend.
  • Enhanced protectPDF function to implement password protection using MuPDF WASM, eliminating the need for backend calls.
  • Removed the backend utility functions and related tests, streamlining the codebase.
  • Added error handling for missing input files in pdfToImages and protectPDF.
  • Improved test coverage for PDF processing tools, ensuring robust validation of inputs and outputs.
  • Introduced a new installation script for easier setup of the PDFZen binary.
  • Added a GitHub Actions workflow for automated releases on version tags.

- Updated `pdfToImages` function to utilize MuPDF WASM for converting PDF pages to images, removing the dependency on the Python backend.
- Enhanced `protectPDF` function to implement password protection using MuPDF WASM, eliminating the need for backend calls.
- Removed the backend utility functions and related tests, streamlining the codebase.
- Added error handling for missing input files in `pdfToImages` and `protectPDF`.
- Improved test coverage for PDF processing tools, ensuring robust validation of inputs and outputs.
- Introduced a new installation script for easier setup of the PDFZen binary.
- Added a GitHub Actions workflow for automated releases on version tags.
@viralcodex viralcodex merged commit 60671e0 into main Apr 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant