# Billedskalering i stort antal

> Skaler mange billeder på én gang efter bredde, højde eller procent. Kører i din browser, så filerne aldrig forlader din enhed. Download en ZIP-fil. Gratis.

Free tool by Orkosi. Page: https://orkosi.com/tools/image-resize?lang=da

Slip en hel mappes fotos, vælg en målestørrelse, og download dem alle som en ZIP-fil. Alt kører på din enhed, så intet uploades.

1. Slip op til 50 JPG-, PNG- eller WebP-filer.
2. Vælg en bredde, højde eller procent og et outputformat.
3. Download individuelle filer eller én ZIP-fil.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `image_url` | text | yes | Adresse på billedet. Et offentligt https-link til et JPG-, PNG-, WebP-, GIF- eller AVIF-billede på op til 15 MB. |
| `width` | integer | no | Bredde i pixels. Angiv bredden, højden eller begge dele. |
| `height` | integer | no | Højde i pixels. |
| `fit` | "inside" \| "cover" \| "fill" | no | Når begge er angivet. Default: "inside". |
| `enlarge` | true \| false | no | Tillad at gøre et lille billede større. Default: false. |
| `format` | "original" \| "jpg" \| "png" \| "webp" | no | Outputformat. Default: "original". |
| `quality` | integer | no | Kvalitet for JPG eller WebP. Default: 85. |

## Example

Input:

```json
{
  "image_url": "https://orkosi.com/samples/sample.jpg",
  "width": 800
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "image-resize", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/image-resize/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"image_url":"https://orkosi.com/samples/sample.jpg","width":800}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

This tool makes a file. Give it the public https address of the source; the result carries `download_url`, a link to the file that works for one hour. Give that link to the person.

## Questions

**Uploades mine billeder et sted?**

Nej. Skaleringen sker i din browser med Canvas API. Dine originaler forlader aldrig din enhed.

**Hvor mange billeder kan jeg skalere på én gang?**

Op til 50 pr. batch. Gentag så ofte, du vil.

**Hvilke formater understøttes?**

JPG, PNG, WebP og GIF, første billede, ind; JPG, PNG eller WebP ud.

All free tools: https://orkosi.com/tools.md
