返回技能列表
image-magik-resize
由 pr1vateer 提供
Image & Video Generation—暂无评分
你的评分
简介
Resize images using ImageMagick (CLI)
描述
该技能的功能
Resizes images using ImageMagick via a Bash script. Supports width-only scaling, exact dimensions, percentage scaling, and conditional resizing. Called by the agent or openclaw CLI with a simple geometry string.
Lets agents resize images without the user knowing ImageMagick geometry flag syntax.
何时使用
- Resize product photos to a standard width before uploading to a store
- Scale down screenshots to 50% for use in documentation
- Shrink large images before attaching them to emails
- Resize a profile photo to exact pixel dimensions required by a platform
- Reduce oversized photos without upscaling smaller ones
示例工作流
输入
User asks: resize photo.jpg to 800 pixels wide
智能体
- 1
Identify the input file as photo.jpg
- 2
Set geometry to 800x to preserve aspect ratio
- 3
Call the resize tool: resize photo.jpg 800x
- 4
Script invokes ImageMagick with the provided geometry
- 5
Output file is written to the default output path
输出
photo.jpg resized to 800px width with aspect ratio preserved
前置要求
- ImageMagick installed (magick or convert binary)
安装
clawhub install pr1vateer/image-magik-resize运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。