Install
openclaw skills install pdf2jpgConvert PDF files to JPEG images with pdftoppm, support optional page ranges, and bundle generated JPGs into a zip archive for sharing. Use when a user wants to turn a PDF into page images, extract selected pages, or package the results. Requires poppler-utils / pdftoppm.
openclaw skills install pdf2jpgConvert a PDF into JPEG page images using pdftoppm from poppler-utils, then optionally zip the generated JPGs.
pdftoppm must be available in PATHpoppler-utils package before running the scriptspoppler-utilsDebian / Ubuntu:
sudo apt update
sudo apt install -y poppler-utils
Windows:
pdftoppm.exe available in your PATHwinget install -e --id oschwartz10612.Popplerchoco install popplerscoop install popplermacOS:
brew install poppler
scripts/pdf2jpg.shscripts/zip_jpgs.sh if needed./scripts/pdf2jpg.sh input.pdf
./scripts/pdf2jpg.sh input.pdf 2 5
./scripts/zip_jpgs.sh input.pdf
./scripts/zip_jpgs.sh input.pdf /tmp/output.zip
scripts/pdf2jpg.shpdftoppm is installed and prints a poppler-utils install hint if notfirst and last page argumentsscripts/zip_jpgs.shbasename-*.jpg files for the PDF${base}-jpgs.zip by default when no output path is suppliedpdftoppm naming convention, typically basename-1.jpg, basename-2.jpg, etc.