feat: add PDF OCR and metadata management capabilities#3
Merged
Conversation
…ed PDF processing
…progress reporting
…etadata management
…nd OCR capabilities
… and metadata features
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…ns from PathBuf to Path for improved type handling
…treamline parsing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces comprehensive PDF OCR (Optical Character Recognition) and metadata management capabilities to forgekit. Users can now:
ocrmypdf, with support for multiple languages, deskewing, and text detectionexiftoolThe implementation includes new CLI commands (
forgekit pdf ocrandforgekit pdf metadata), core library enhancements for job specifications, and tool adapters forOcrmypdfandExifTool.Type of Change
feat: New featurefix: Bug fixdocs: Documentation onlyrefactor: Code refactoring (no behavior change)perf: Performance improvementtest: Adding or updating testsbuild: Build system or dependenciesci: CI/workflow changeschore: Maintenance tasksScope
cli- CLI commands and interfacecore- Core library functionalitytools- Tool integrations (qpdf, ghostscript, etc.)pdf- PDF-specific operationspackaging- Package configurationsRelated Issues
Checklist
type(scope): descriptioncargo test)cargo clippyandcargo fmt)Breaking Changes
Key Changes
CLI Commands
forgekit pdf ocrcommand with support for:eng,deu,fra)forgekit pdf metadatacommand with support for:forgekit pdf metadata doc.pdf)--get title)--set title="My Doc" --set author="John")Core Library
Ocrmypdftool adapter for OCR operationsExifTooladapter for metadata managementJobSpecwithPdfOcrandPdfMetadatavariantsMetadataActionenum for metadata operations (Get, GetAll, Set)Version