Tools / Image Ops
Image Ops icon

Image Ops

Resize, convert & optimize images

Transform images into production-ready assets in seconds. Resize to exact dimensions, convert between JPEG/WebP/AVIF/PNG, compress for web or app store, and apply rotation, blur, and grayscale — all in one call. Works with URLs or local files.

1 skillv0.02
Transform Image

Load an image from a local path or URL, apply resizing and visual transforms, then export an optimized output file for app-store or web usage.

Returns: Transformed image output path with final dimensions, file size, format, and operation metadata
Parameters
image_pathstringLocal file path to source image
image_urlstringRemote URL to source image
widthnumberTarget width in pixels
heightnumberTarget height in pixels
fitstringResize fit mode when width/height are provided
formatstringOutput format (original keeps source-like format)
qualitynumberOutput quality (1-100) for lossy formats
rotatenumberRotation angle in degrees (-360 to 360)
grayscalebooleanConvert output image to grayscale
blurnumberBlur sigma amount (0-20)
output_basenamestringOptional output filename stem (without extension)
Example
Download and optimize an image for mobile listing use
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "image-ops",
  "skill": "transform_image",
  "input": {
    "image_url": "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
    "width": 1080,
    "format": "webp",
    "quality": 82
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Loading reviews...
Loading activity...
v0.022026-03-22
  • Added subtitle, expanded description, and agent instructions
v0.012026-03-20
  • Initial release

Quick Start

MCP (Claude Code)
claude mcp add --transport stdio \
  --env TOOLROUTER_API_KEY=YOUR_API_KEY \
  toolrouter -- npx -y toolrouter-mcp
REST API
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{"tool":"image-ops","skill":"transform_image","input":{}}' \
  https://api.toolrouter.com/v1/tools/call

Use Cases

Open Batch Resize Images

Batch Resize Images

Resize multiple images to specific dimensions for consistent display across your website or application.

Image Ops icon
Image Ops
4 agent guides
Open Convert Image Formats

Convert Image Formats

Convert images between formats like PNG, JPEG, WebP, and AVIF for optimal compatibility and performance.

Image Ops icon
Image Ops
4 agent guides
Open Research Competitor Ad Creatives

Research Competitor Ad Creatives

Research what ads your competitors are running across Facebook and Google to understand their messaging and creative strategy.

Ad Library Search icon
Ad Library Search
4 agent guides
Open Analyze App Review Sentiment

Analyze App Review Sentiment

Understand how users feel about your app by analyzing sentiment patterns across hundreds or thousands of reviews.

App Review Analysis icon
App Review Analysis
4 agent guides
View all use cases for Image Ops

Workflows

Open Thumbnail and Preview Factory

Thumbnail and Preview Factory

Mass-produce optimized thumbnails and preview images with AI generation, web captures, and automated formatting.

Generate Image icon
Generate Image
Web Screenshot icon
Web Screenshot
Image Ops icon
Image Ops
3 steps3 tools

Frequently Asked Questions

Can it resize and convert images in one step?

Yes. Resize, format conversion, compression, and light edits can all happen in the same call.

Does it work with both URLs and local files?

Yes. The tool accepts both remote image URLs and local files.

Which formats can it output?

It supports JPEG, WebP, AVIF, and PNG output.

Is it good for app store or web assets?

Yes. It is built to turn images into production-ready assets for web delivery, app store use, and other publishing workflows.