oxidize-pdf-cli-1.1.6 is not a library.
oxidize-pdf-cli
Command-line interface for oxidizePdf - A high-performance PDF manipulation library written in Rust.
Installation
Usage
Commands
Merge PDFs
Combine multiple PDF files into a single document:
Split PDF
Split a PDF into individual pages or chunks:
# Split into individual pages
# Split into chunks of N pages
Extract Pages
Extract specific pages from a PDF:
# Extract pages 1-5 and 10
Rotate Pages
Rotate pages in a PDF:
# Rotate all pages 90 degrees clockwise
# Rotate specific pages
Extract Text
Extract text content from PDFs:
# Extract all text
# Extract text from specific pages
PDF Information
Display PDF metadata and information:
Global Options
-o, --output <FILE>: Output file path-v, --verbose: Enable verbose logging-q, --quiet: Suppress all output except errors--help: Display help information--version: Display version information
Examples
Batch Processing
Process multiple PDFs in a directory:
# Merge all PDFs in a directory
# Split multiple PDFs
for; do
done
Advanced Usage
# Extract specific pages and rotate them
| \
# Merge PDFs with metadata preservation
Features
- Fast Performance: Built on the high-performance oxidize-pdf core library
- Memory Efficient: Streaming operations for large PDFs
- Cross-Platform: Works on Windows, macOS, and Linux
- Unicode Support: Full UTF-8 text extraction
- Error Recovery: Handles corrupted PDFs gracefully
Configuration
oxidize-pdf-cli can be configured using environment variables:
OXIDIZEPDF_LOG_LEVEL: Set logging level (trace, debug, info, warn, error)OXIDIZEPDF_BUFFER_SIZE: Set buffer size for streaming operations
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
See Also
- oxidize-pdf - Core PDF manipulation library
- oxidize-pdf-api - REST API for PDF operations