image-crop

Installation
SKILL.md

Image Crop

Crops an image to specified dimensions centered on a configurable focal point. The crop region is calculated to center on the focal point while staying within image bounds.

Command

npx agent-media@latest image crop --in <path> --width <px> --height <px> [options]

Inputs

Option Required Description
--in Yes Input file path or URL
--width Yes Width of crop area in pixels
--height Yes Height of crop area in pixels
--focus-x No Focal point X position 0-100 (default: 50 = center)
--focus-y No Focal point Y position 0-100 (default: 50 = center)
Related skills
Installs
88
GitHub Stars
4
First Seen
Jan 24, 2026