How to Batch Resize Images with Claude
Batch resize images with Claude and ToolRouter. Consistent image dimensions without manual editing.
ToolImage OpsClaude turns image resizing into a conversational terminal workflow. Describe your target dimensions or layout requirements in plain language -- "make these product photos work for a 3-column grid" -- and Claude determines the right dimensions, asks about aspect ratio handling, and processes files iteratively. Follow up with questions like "can you also make mobile versions?" in the same session.
Connect ToolRouter to Claude
1Go to Settings → Connectors → Add custom connector
2Enter the details below and click Add
Name
ToolRouterURL
https://api.toolrouter.com/mcp3Done — works on Claude chat, desktop, and mobile
Steps
Once connected (see setup above), use the Image Ops tool:
- Ask Claude: "Resize this image to 1200x630 for Open Graph using image-ops"
- Claude runs transform_image with the specified dimensions
- Ask Claude to resize additional images to the same or different target sizes
- Request a batch resize of all product images to standard grid dimensions
Example Prompt
Try this with Claude using the Image Ops tool
Resize all our product images to 800x800 for the product grid. Maintain aspect ratio and center-crop if needed.
Tips
- Ask Claude to create multiple sizes from one source for responsive design
- Specify whether to crop, pad, or stretch when aspect ratios do not match
- Claude can resize and rename files with a consistent naming convention