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

feat: skip pages that are too large to process #139

Merged
merged 2 commits into from
Mar 8, 2025
Merged

Conversation

awwaawwa
Copy link
Member

@awwaawwa awwaawwa commented Mar 8, 2025

This PR adds a size check for PDF pages to skip processing pages that are too large (height > 1200 or width > 2000). This improves processing efficiency and prevents potential issues with oversized pages.

  • Add size check for PDF pages (height > 1200 or width > 2000)
  • Log warning message for skipped large pages
  • Improve processing efficiency by avoiding unnecessary work on oversized pages

awwaawwa added 2 commits March 8, 2025 21:55
- Add size check for PDF pages (height > 1200 or width > 2000)\n- Log warning message for skipped large pages\n- Improve processing efficiency by avoiding unnecessary work on oversized pages
@awwaawwa awwaawwa merged commit 09c4dbe into main Mar 8, 2025
11 checks passed
@awwaawwa awwaawwa deleted the feat/skip-large-pages branch March 8, 2025 13:58
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