Skip to content

feat: add Convert tool (PDF to PNG/JPG/DOCX/TXT)#1

Merged
nelsonduarte merged 1 commit into
mainfrom
feature/convert-pdf
Mar 23, 2026
Merged

feat: add Convert tool (PDF to PNG/JPG/DOCX/TXT)#1
nelsonduarte merged 1 commit into
mainfrom
feature/convert-pdf

Conversation

@nelsonduarte
Copy link
Copy Markdown
Owner

Summary

  • New "Convert" tool in the sidebar to convert PDF to other formats
  • Supports PNG and JPG images with DPI selector (72/150/300)
  • Supports Word (DOCX) export via python-docx
  • Supports plain text (TXT) export
  • Added python-docx to requirements.txt

Test plan

  • Open a PDF and convert to PNG at each DPI level
  • Convert to JPG and verify image quality
  • Convert to DOCX and verify text extraction
  • Convert to TXT and verify page separators
  • Test with multi-page and single-page PDFs
  • Test format switching updates output path correctly

🤖 Generated with Claude Code

New tool to convert PDF pages to images (PNG/JPG with DPI selector),
Word documents (DOCX) or plain text (TXT). Add python-docx dependency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nelsonduarte nelsonduarte merged commit 353ada7 into main Mar 23, 2026
1 check passed
nelsonduarte added a commit that referenced this pull request Mar 24, 2026
feat: add Convert tool (PDF to PNG/JPG/DOCX/TXT)
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