Files
OCRmyPDF/src/ocrmypdf
James R. BarlowandClaude Opus 4.5 ed813cec67 feat: add --rasterizer CLI option to select PDF rasterization backend
Add user control over which rasterizer is used for PDF page rendering:
- 'auto' (default): prefers pypdfium when available, falls back to Ghostscript
- 'pypdfium': force pypdfium2 (errors if not installed)
- 'ghostscript': force traditional Ghostscript rasterizer

Changes:
- Add rasterizer field with validation to OCROptions model
- Add --rasterizer CLI argument in the Advanced options group
- Update rasterize_pdf_page hookspec to pass options to plugins
- Update pypdfium plugin with check_options hook for availability check
- Update both plugins to respect the rasterizer option

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 12:29:17 -08:00
..
2025-12-21 12:21:47 -08:00
2023-11-19 23:51:26 -08:00
2025-12-21 12:21:47 -08:00
2024-08-31 01:23:55 -07:00
2025-12-21 12:21:48 -08:00
2024-08-31 01:23:55 -07:00
2025-01-01 18:00:39 -08:00
2024-12-08 12:17:19 -08:00
2025-12-21 12:21:47 -08:00
2025-12-21 12:21:48 -08:00
2025-02-06 00:40:35 -08:00
2024-04-07 00:25:32 -07:00
2022-07-28 01:10:07 -07:00
2024-04-07 00:25:32 -07:00