# Image Resizer

- Human page: https://happytails.ai/en/image-tools/resize-image/
- Markdown: https://happytails.ai/en/image-tools/resize-image.md
- Structured JSON: https://happytails.ai/agents/en/image-tools/resize-image/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `resize-image` |
| Category | image-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Runs in your browser. Animated inputs produce a single still image. Supported decoding depends on your browser.

### Inputs and settings

No free-text input is required. Use the file inputs and/or settings below.

Accepted browser files: `image/*,.svg,.avif`. Choose one file.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `width` | Width (px) | number | "" | min=1 max=16384 step=1 |
| `height` | Height (px) | number | "" | min=1 max=16384 step=1 |
| `lock` | Keep aspect ratio | checkbox | true |  |

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Pixels/percent, aspect lock, fit/crop modes, no unintended upscaling, batch dimensions.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "resize-image",
  "category": "image-tools",
  "built": true,
  "requirements": "Pixels/percent, aspect lock, fit/crop modes, no unintended upscaling, batch dimensions.",
  "implementation": {
    "fields": [
      {
        "key": "width",
        "label": "Width (px)",
        "value": "",
        "type": "number",
        "min": 1,
        "max": 16384,
        "step": 1
      },
      {
        "key": "height",
        "label": "Height (px)",
        "value": "",
        "type": "number",
        "min": 1,
        "max": 16384,
        "step": 1
      },
      {
        "key": "lock",
        "label": "Keep aspect ratio",
        "value": true,
        "type": "checkbox"
      }
    ],
    "files": true,
    "accept": "image/*,.svg,.avif",
    "input": false,
    "note": "Runs in your browser. Animated inputs produce a single still image. Supported decoding depends on your browser.",
    "experience": {
      "automatic": false,
      "single": false,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 1,000,000 characters. Review the settings before running.",
      "action": "Resize image"
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Give your image the dimensions it needs for its next home.

How can we improve this tool?

Report a problem or share an idea.

Please leave out private information. Your message and the tool name go to our team via PostHog.

### How to use Resize image

1. Choose an image. The settings start with its current dimensions.
2. Use a percentage preset or enter a width or height. Keep aspect ratio on to preserve proportions.
3. Select Resize image, check the final dimensions, then download your PNG.

## What to expect

Resize an image to the dimensions you need. Enter a width and height in pixels. With aspect ratio enabled, the width determines the height, so your image keeps its proportions.

## Useful next steps

- [Aspect ratio calculator](https://happytails.ai/en/design-tools/aspect-ratio-calculator/) ([Markdown](https://happytails.ai/en/design-tools/aspect-ratio-calculator.md))

- [DPI calculator](https://happytails.ai/en/maker-tools/dpi-calculator/) ([Markdown](https://happytails.ai/en/maker-tools/dpi-calculator.md))

- [Crop image](https://happytails.ai/en/image-tools/crop-image/) ([Markdown](https://happytails.ai/en/image-tools/crop-image.md))
