- Home
- Skills
- Image & Video
- ID Photo, All Done - Offline ID Photo Studio
Works with the AI Agents you already use
ID Photo, All Done - Offline ID Photo Studio
Local Python scripts for spec-compliant ID photo cropping, background replacement, and print layout generation.
$5
ID Photo, All Done - Offline ID Photo Studio
Example session with this skill installed
I need to check if 'input.jpg' meets standard passport specs and then generate a 6-inch print layout sheet for it.
- Read your context and instructions
- Compiled the id photo all
- Generated the image
The ID photo check is complete. The image meets standard dimensions but requires a DPI adjustment. I have generated a 6-inch layout sheet with 6 copies.
ID Photo Audit & Layout
| Metric | Value | Status |
|---|---|---|
| Input File | input.jpg | Found |
| Detected Size | 35mm x 45mm | Pass |
| Detected DPI | 72 | Low (300 recommended) |
| Background | White (F0F0F0) | Pass |
| Layout Output | layout_output.jpg | Generated |
| Paper Size | 6-inch (4x6) | Applied |
| Copies | 6 | Applied |
# Compliance Report for input.jpg
# [INFO] Standard matched: Passport (35x45mm)
# [WARN] DPI is 72. Use --dpi 300 in id-crop to fix metadata.
# [INFO] Layout sheet saved to: ./layout_output.jpg
Next steps
- Run
id-cropwith--dpi 300to update the image resolution metadata. - Send
layout_output.jpgto your local printer on 4x6 photo paper. - Use
id-checkon the final file to verify the new DPI settings.
input.jpg
PNG · 1536×1024
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Handling ID photo requirements often involves clunky web tools that compromise privacy or require manual Photoshop work. This skill provides a suite of local Python scripts to automate ID photo processing directly on your machine.
What it does
- Standardized cropping scales and center-crops images to passport, visa, or custom dimensions while setting specific DPI targets.
- Background replacement converts between white, blue, and red backgrounds using chroma key and edge feathering without cloud models.
- Spec lookup provides pixel and millimeter dimensions for global ID standards like one-inch or two-inch photos.
- Print layouts generates multi-photo sheets for 6-inch, 5-inch, or A4 paper with configurable margins and crop lines.
- Batch processing runs background replacement and cropping across entire directories without overwriting source files.
- Compliance checking audits size, DPI, and background uniformity to generate a validation report.
How it works
- Use
id-specsto find the required dimensions for a specific document type. - Run
id-infoon a source image to detect current DPI and background color. - Execute
id-croporid-bgcolorwith specific flags to modify the image. - Use
id-layoutto arrange the processed photo onto a print-ready sheet.
Frameworks & tools
The scripts use Python 3.8+ and the Pillow library for image processing. Subject cutout functionality requires the optional rembg package.
Why this beats prompting it yourself
Generic prompts often struggle with exact millimeter-to-pixel conversions and DPI metadata. These scripts provide deterministic, spec-compliant results and handle complex print layout math that LLMs frequently hallucinate.
Use cases
- Automate passport photo generation from raw headshots for a travel app.
- Batch process employee ID photos with consistent background colors.
- Validate whether user-uploaded photos meet visa application standards.
Known limitations
Requires a local Python 3.8+ environment. Subject cutout functions need a one-time model download for the optional rembg dependency.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.
Requires local Python 3.8+ and Pillow. Initial use of cutout script requires model download. Operations are local; no cloud processing or GPU acceleration provided.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python
Python 3.9 or newer, plus Pillow installed locally. Subject cutout additionally needs the optional rembg package and a local model file. No network required at runtime.
Permissions
Reads only the photos you select; writes new output images to a path you choose and never overwrites the source. Uses local Pillow/rembg with a local model. No network calls, no secrets, no environment variables.