feat: add batch PDF to PNG conversion with ZIP download#346
Open
Ashvin-KS wants to merge 1 commit into
Open
Conversation
|
@Ashvin-KS is attempting to deploy a commit to the Durgeshwar's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
@Ashvin-KS please check the current pdf to png and work on it no new tool. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📄 Pull Request
🔗 Issue Reference
Closes #309
📝 Summary
/pdf-to-png-batch. Users select (or drag-and-drop) multiple PDF files, choose an image scale, and convert every page of every file to PNG. All results are packaged into a single ZIP download. Each PDF's pages are namespaced into their own sub-folder inside the ZIP.Changes
frontend/src/pages/PdfPngBatch.jsx— self-contained batch tool: multi-file selection, queued per-file conversion, per-file + overall progress bars, error handling, and ZIP assembly. Conversion reuses the samepdfjs-distrendering pipeline as the existingPdfPng.jsx.frontend/src/App.jsx— lazy-loadsPdfPngBatchand registers the/pdf-to-png-batchroute inside the sharedLayout.frontend/src/data/toolsData.jsx— registers the tool in the PDF Tools category (Layers icon, description, path, gradient).No new dependencies are introduced —
jszip,pdfjs-dist,framer-motion,sonner,lucide-react,clsx, andtailwind-mergeare all already used elsewhere in the project.🖼️ Screenshots (if applicable)
Multi-file queue with remove buttons, a scale selector, a "Convert N PDFs" action, and dual progress bars (current file % and overall %), followed by a ZIP download.
✅ Checklist
🔗 Related Issues / PRs
🎓 Open Source Program Participation
Program Name: GSSoC 2026
💬 Additional Notes