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

Fix: Draw image with the original PDF page dimensions #2503

Conversation

omar-ahmed42
Copy link
Contributor

Description

  • Draw the converted image with the original PDF page dimensions to avoid page resizing due to high DPI and unspecified dimensions for drawImage

Closes #2486

Checklist

  • I have read the Contribution Guidelines
  • I have performed a self-review of my own code
  • I have attached images of the change if it is UI based
  • I have commented my code, particularly in hard-to-understand areas
  • If my code has heavily changed functionality I have updated relevant docs on Stirling-PDFs doc repo
  • My changes generate no new warnings
  • I have read the section Add New Translation Tags (for new translation tags only)

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Bug Something isn't working labels Dec 19, 2024
@github-actions github-actions bot added Java Pull requests that update Java code and removed Bug Something isn't working labels Dec 19, 2024
@Frooodle Frooodle merged commit 2d82c5f into Stirling-Tools:main Dec 19, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java Pull requests that update Java code size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Auto Redact changes page size
2 participants