happytails.ai

Image Compressor

Open Image Compressor on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.

Tool capabilities

{
  "id": "compress-image",
  "category": "image-tools",
  "built": true,
  "requirements": "Show before/after bytes and preview; preserve original download; never guarantee all files shrink.",
  "implementation": {
    "fields": [
      {
        "key": "quality",
        "label": "Quality (%)",
        "value": 85,
        "type": "number",
        "min": 1,
        "max": 100,
        "step": 1,
        "help": "With a size limit, quality may be reduced below this value."
      },
      {
        "key": "format",
        "label": "Output format",
        "value": "WebP",
        "type": "select",
        "values": [
          "WebP",
          "JPEG"
        ]
      },
      {
        "key": "background",
        "label": "JPEG background",
        "value": "#ffffff",
        "type": "color"
      },
      {
        "key": "targetKB",
        "label": "Maximum file size (KB)",
        "value": "",
        "type": "number",
        "min": 1,
        "max": 20000,
        "step": 1,
        "required": false,
        "help": "Optional. Leave blank to compress without a size limit. 1 KB = 1,000 bytes."
      },
      {
        "key": "allowResize",
        "label": "Allow smaller dimensions",
        "value": false,
        "type": "checkbox",
        "help": "Only reduce dimensions if the size limit cannot be met at the original size."
      }
    ],
    "files": true,
    "input": false,
    "multiple": false,
    "accept": ".jpg,.jpeg,.png,.webp",
    "maxFileBytes": 20971520,
    "deferImagePreview": true,
    "note": "Runs in your browser. One still JPEG, PNG or WebP, up to 20 MiB and 40 megapixels. Animated images are not supported. New copies do not preserve metadata; an unchanged original keeps its metadata. Smaller dimensions are used only with your permission.",
    "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.",
      "helpParts": [
        "Up to 1,000,000 characters.",
        "Review the settings before running."
      ],
      "action": "Compress 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

Make your image smaller, or fit a file-size limit. Check the quality before you download.

How to use Compress image
  1. Choose a still JPG, PNG or WebP image. It stays in this browser.
  2. Choose quality and output format. Enter an optional maximum size in KB; allow smaller dimensions only if you want resizing when needed.
  3. Compress, then compare image detail, actual file size and dimensions. If a limit cannot be met, adjust the settings and retry.

Useful next steps

What to expect

Reduce an image’s file size, with an optional maximum size in KB. Choose WebP or JPEG, then compare image detail and actual file size. Dimensions change only if you allow it. If compression would make a file larger and no size limit is set, the download is the unchanged original, including its metadata.