---
title: ToolRouter — Use Case
description: Step-by-step guide for a real-world ToolRouter use case with agent-specific instructions.
url: https://toolrouter.com/tools/image-ops/use-cases/compress-for-web
---
# Compress Images for Web

Images typically account for the largest portion of page weight on most websites. Unoptimized images can add megabytes of unnecessary data to every page load, directly impacting Core Web Vitals, user experience, and search rankings. Google explicitly factors page speed into search ranking, and images are usually the biggest lever you have for improving it.

ToolRouter's transform_image skill compresses images using intelligent algorithms that reduce file size while preserving visual quality. You can specify a target quality level or let the tool find the optimal compression point -- the smallest file size that maintains perceptually identical quality. For most photographs, this means 60-80% file size reduction without visible degradation.

This is not just a one-time optimization. Every new image uploaded to your site should go through compression before serving. Automating compression through ToolRouter means every image on your site is optimized by default, keeping your performance scores high without relying on developers or designers to remember to compress each file manually.

**Tool:** [Image Ops](https://toolrouter.com/tools/image-ops)
**Skills:** transform_image

## Agent Guides

- [How to Compress Images for Web with Claude](https://toolrouter.com/tools/image-ops/use-cases/compress-for-web/claude): Guide for Claude
- [How to Compress Images for Web with ChatGPT](https://toolrouter.com/tools/image-ops/use-cases/compress-for-web/chatgpt): Guide for ChatGPT
- [How to Compress Images for Web with Copilot](https://toolrouter.com/tools/image-ops/use-cases/compress-for-web/copilot): Guide for Copilot
- [How to Compress Images for Web with OpenClaw](https://toolrouter.com/tools/image-ops/use-cases/compress-for-web/openclaw): Guide for OpenClaw
