Preset · web

Web preset

Prepare common web assets with a 1600-pixel width limit, WebP quality 82, and metadata removal.

The web preset is the shortest path from a mixed asset folder to consistent WebP outputs.

Run it

Terminal window
rastry run ./public --preset web --dry-run

Review the planned names and conflicts, then choose a destination and execute:

Terminal window
rastry run ./public --preset web --output ./optimized --execute

Exact configuration

{
"version": 1,
"name": "web",
"operations": [
{ "type": "resize", "width": 1600, "fit": "contain" },
{ "type": "convert", "format": "webp", "quality": 82 },
{ "type": "strip-metadata" }
]
}

The canonical file is examples/presets/web.json.

Related reading