bitwikiorg/skills.md/convert-pdf-to-images
Claude Code and agent skill by bitwikiorg/skills.md
- community
Checking that the SKILL.md file is still in the repository.
Imported skill convert_pdf_to_images from anthropic
Install
npx vskill@latest install bitwikiorg/skills.md/convert-pdf-to-imagesSKILL.md
import os import sys
from pdf2image import convert_from_path
Converts each page of a PDF to a PNG image.
def convert(pdf_path, output_dir, max_dim=1000): images = convert_from_path(pdf_path, dpi=200)
for i, image in enumerate(images): # Scale image if needed to keep width/height under max_dim width, height = image.size if width > max_dim or height > max_dim: scale_factor = min(max_dim / width, max_dim / height) new_width = int(width scale_factor) new_height = int(height scale_factor) image = image.resize((new_width, new_height))
image_path = os.path.join(output_dir, f"page_{i+1}.png") image.save(image_path) print(f"Saved page {i+1} as {image_path} (size: {image.size})")
print(f"Converted {len(images)} pages to PNG images")
if __name__ == "__main__": if len(sys.argv) != 3: print("Usage: convert_pdf_to_images.py [input pdf] [output directory]") sys.exit(1) pdf_path = sys.argv[1] output_directory = sys.argv[2] convert(pdf_path, output_directory)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsources/anthropic/convert_pdf_to_images/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bitwikiorg/skills.md/convert-pdf-to-images)