Skip to content

✨ add ability to extract sub-images from PDFs#143

Merged
ianardee merged 2 commits into
mainfrom
add-pdf-image-extractor
Jan 9, 2024
Merged

✨ add ability to extract sub-images from PDFs#143
ianardee merged 2 commits into
mainfrom
add-pdf-image-extractor

Conversation

@ianardee
Copy link
Copy Markdown
Collaborator

@ianardee ianardee commented Jan 8, 2024

Description

Add the ability to extract sub-images from individual pages.

Auto-detect if the source image is a PDF when constructing the image extractor.
If it's a PDF, extract each PDF page to an individual image.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires a change to the official Guide documentation.

Comment thread src/main/java/com/mindee/extraction/ImageExtractor.java Outdated
Copy link
Copy Markdown
Collaborator

@sebastianMindee sebastianMindee left a comment

Choose a reason for hiding this comment

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

Missing one minor UT, otherwise OK

Comment thread src/main/java/com/mindee/extraction/ImageExtractor.java Outdated
@ianardee ianardee merged commit 9d3b2c7 into main Jan 9, 2024
@ianardee ianardee deleted the add-pdf-image-extractor branch January 9, 2024 10:21
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.

2 participants