Vision — Image Processing, Resize, Convert & Watermark
# vision
Image processing toolkit powered by ImageMagick.
## Quick Start / 快速开始
Just ask your AI assistant: / 直接告诉 AI 助手:
- "Resize photo.jpg to 800px width" (帮我把 photo.jpg 缩小到 800 宽)
- "Convert this PNG to WebP format" (把这张 PNG 图片转换成 WebP 格式)
- "Add watermark: © 2025 BytesAgain" (给这张图加个水印)
## Commands
### resize
Resize an image.
```bash
bash scripts/script.sh resize --input photo.jpg --width 800
bash scripts/script.sh resize --input photo.jpg --percent 50
```
### convert
Change image formats.
```bash
bash scripts/script.sh convert --input photo.png --to webp
bash scripts/script.sh convert --input photo.jpg --to png
```
### optimize
Compress file size without losing quality.
```bash
bash scripts/script.sh optimize --input photo.jpg --quality 80
```
### watermark
Add text watermark to images.
```bash
bash scripts/script.sh watermark --input photo.jpg --text "© 2025" --position southeast
```
## Requirements
- bash 4+
- ImageMagick (convert, identify)
## Feedback
https://bytesagain.com/feedback/
Powered by BytesAgain | bytesagain.com
标签
skill
ai