cleya smart_crop
Crop to a target aspect while keeping the subject — saliency-driven reframe for stills and video (center-crop fallback off-macOS)
Platform: saliency targeting needs macOS; falls back to center-crop elsewhere
cleya smart_crop --input wide.jpg --aspect 4:5
Options
| Flag | What it does | |
|---|---|---|
--input | Image or video | required · string |
--aspect | Target aspect: 4:5, 9:16, 1:1, or a number | string |
--width | Exact output width (with --height; also scales) | string |
--height | Exact output height | string |
--time | Saliency sample frame for video (default: middle) | string |
--output | Output path | string |
--overwrite | Overwrite output file if it exists | boolean |
Category: assets — extract usable pieces from media
Generated from the toolkit
Generated from cleya capabilities, the toolkit's own manifest, so it cannot drift.
Run cleya smart_crop --help for the same information in your terminal.