Skip to content

pdf-screenshots

update pdf-screenshots - Extract PDF pages as images for documentation cache

Scans out/build folders for generated PDF books and extracts each page as a PNG image. Images are stored in out/cache/pdf-screenshots/ organized by book name with hash marker for cache invalidation.

Flags

Flag Description
--dry-run (default: false) Show what would be done without making changes
-f, --force (default: false) Regenerate all images ignoring cache
-v, --verbose (default: false) Show detailed progress
--dpi (default: 150) Image resolution (72-300)
-m, --module Process only specific module's PDFs

Notes

Expected Output:

  • PNG images in out/cache/pdf-screenshots/ directory
  • Organized by book name (one subdirectory per PDF)
  • Hash marker files for cache validation

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.