How to Batch Resize Images with Claude

Batch resize images with Claude and ToolRouter. Consistent image dimensions without manual editing.

Tool
Image Ops icon
Image Ops

Claude 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
ToolRouter
URL
https://api.toolrouter.com/mcp
3Done — works on Claude chat, desktop, and mobile

Steps

Once connected (see setup above), use the Image Ops tool:

  1. Ask Claude: "Resize this image to 1200x630 for Open Graph using image-ops"
  2. Claude runs transform_image with the specified dimensions
  3. Ask Claude to resize additional images to the same or different target sizes
  4. 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