name: extract-page description: Extract a single page from a PDF as a PNG image for quick preview. argument-hint: <file.pdf> <page-number> allowed-tools: Bash, Read
Extract PDF Page Tool
Use tools/extract_page.py to extract a single page from a PDF as a PNG image.
Usage
Basic usage:
python tools/extract_page.py $ARGUMENTS[0] $ARGUMENTS[1]
With custom output path:
python tools/extract_page.py <file>.pdf <page> -o output.png
Examples
# Extract page 5 from build/lecture.pdf
python tools/extract_page.py build/lecture.pdf 5
# Output will be: build/lecture.page5.png
Notes
- Page numbers are 1-indexed
- Default output:
<file>.page<N>.png - Uses pdftoppm (poppler), sips (macOS), or ImageMagick convert
Skills similaires
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
claudechatgptbeginner
241
67
591
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Claude CodeCursorWindsurf+1beginner
234
78
613
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.
claudeCursorWindsurfbeginner
178
45
458