Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Add Support for Specifying and Converting Specific Pages from PDF (Issue #285 Resolved) #292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cyy-2024
Copy link

Dear Reviewer,

Your project is absolutely fantastic! My submission adds a new feature to the PDF conversion module, addressing the issue raised in #285, which allows users to specify and convert only certain pages from a PDF. This enhancement gives users more flexibility to extract the needed pages from a PDF and convert them to images, without having to convert the entire PDF document.

During the implementation, I added the page_indexes parameter to receive user-specified page indexes. The program first converts all pages into images in memory, then filters and saves only the pages matching the page_indexes. This approach not only avoids unnecessary page conversions but also ensures that users process only the pages they need. If there are any mistakes, please kindly point them out as I’m new to the GitHub community. Thank you so much for your time and support!

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