How to Batch Resize Images with OpenClaw

Batch resize images with OpenClaw and ToolRouter. Consistent image sizes for any project.

Tool
Image Ops icon
Image Ops

OpenClaw processes bulk image resizing as a structured batch operation, handling hundreds of images in a single run with consistent dimension targets. Output includes organized directory structures by size variant and a manifest documenting every processed file, making it easy to integrate into automated asset pipelines and content management systems.

Connect ToolRouter to OpenClaw

1Install the CLI
npm install -g toolrouter-mcp
2Call tools directly from OpenClaw
toolrouter-mcp call web-search search --query "AI tools"
toolrouter-mcp tools

Steps

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

  1. Ask OpenClaw: "Resize this image to 1200x800 using image-ops"
  2. OpenClaw processes the resize and returns the result
  3. Request additional sizes for different use cases
  4. Batch-process your entire image library to standard dimensions

Example Prompt

Try this with OpenClaw using the Image Ops tool
Resize our hero image to 1920x1080 for desktop and 768x1024 for tablet.

Tips

  • Define your standard image sizes once and apply them consistently
  • Ask for aspect ratio preservation to avoid stretching or distortion
  • Process images in batches for maximum efficiency