Skip to content

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

Open
cyy-2024 wants to merge 1 commit intoBelval:masterfrom
cyy-2024:new_branch
Open

Enhancement: Add Support for Specifying and Converting Specific Pages from PDF (Issue #285 Resolved)#292
cyy-2024 wants to merge 1 commit intoBelval:masterfrom
cyy-2024:new_branch

Conversation

@cyy-2024
Copy link
Copy Markdown

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