image-crop
✓将图像裁剪为焦点周围的指定尺寸。当您需要提取图像的一部分、创建具有自定义定位的缩略图或准备特定宽高比的图像时使用。
SKILL.md
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.
| --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) | | --dpi | No | DPI/density for output (default: 300) |
| --out | No | Output path, filename or directory (default: ./) | | --provider | No | Provider to use (default: local) |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/agntswrm/agent-media --skill image-crop- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 image-crop?
将图像裁剪为焦点周围的指定尺寸。当您需要提取图像的一部分、创建具有自定义定位的缩略图或准备特定宽高比的图像时使用。 来源:agntswrm/agent-media。
如何安装 image-crop?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/agntswrm/agent-media --skill image-crop 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/agntswrm/agent-media
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01