The ecommerce preset keeps product imagery inside a predictable 2000×2000 contain box. It does not crop the subject, so the full product remains visible.
Run it
rastry run ./products --preset ecommerce --output ./optimized --dry-runExecute only after checking the output paths:
rastry run ./products --preset ecommerce --output ./optimized --executeExact configuration
{ "version": 1, "name": "ecommerce", "operations": [ { "type": "resize", "width": 2000, "height": 2000, "fit": "contain" }, { "type": "convert", "format": "webp", "quality": 85 }, { "type": "strip-metadata" } ]}The canonical file is examples/presets/ecommerce.json.