Web delivery usually rewards a smaller dimension, an appropriate encoder, and a clean output. The shipped web preset packages those decisions without making the source folder the destination.
1. Start with a folder
Keep source assets in a directory such as public/. Choose a separate output directory:
rastry run ./public --preset web --output ./optimized --dry-run2. Review the plan
The preset uses:
- contain resize to a maximum width of 1600 pixels;
- WebP conversion at quality 82; and
- metadata removal.
Review every planned path and conflict. Dry-run performs no filesystem mutation.
3. Execute the reviewed plan
rastry run ./public --preset web --output ./optimized --executeThe originals stay in public/, while generated outputs are collected in optimized/. If you need to keep JPEG for a downstream tool, use the convert operation with format: jpeg instead.