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 PDF page image rendering issues (#1792) #1793

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

mcantelon
Copy link
Member

Added new CLI options to command used to extract images of PDF pages. Added "-density 300" to increase image detail and "-alpha remove" to fix issue where the alpha channel is rendered as black and causes images to be illegible.

Added new CLI options to command used to extract images of PDF pages.
Added "-density 300" to increase image detail and "-alpha remove" to
fix issue where the alpha channel is rendered as black and causes
images to be illegible.
@mcantelon mcantelon added the Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. label Apr 2, 2024
mcantelon added a commit that referenced this pull request Apr 3, 2024
Fixed issue with the digital objects regeneration task
(digitalobject:regen-derivatives) deleting, but not regenerating,
digital objects representing PDF pages.

Removed unneeded and unused digital object class method.
Copy link
Contributor

@anvit anvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @mcantelon !

@mcantelon
Copy link
Member Author

Thanks @anvit !

@mcantelon mcantelon merged commit 753044f into qa/2.x Apr 3, 2024
6 checks passed
@mcantelon mcantelon deleted the dev/pdf-image-extraction-fix branch April 3, 2024 22:48
@anvit anvit added this to the 2.8.2 milestone May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem: Images rendered from PDF pages are hard to read and sometimes have issues
2 participants