📦 Image Processor — Image 处理器

v1.0.0

Process and convert images with resize, crop, 压缩, and 格式化 conversion. Use when user needs to batch resize photos, convert image 格式化s, 压缩 im...

0· 0·0 当前·0 累计
dinghaibin 头像by @dinghaibin (BIN)
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The 技能's files and 运行time instructions match its 状态d purpose (local image processing) and it does not 请求 凭证s or network 访问; issues are implementation bugs and a missing explicit dependency note rather than malicious behavior.
评估建议
This 技能 应用ears to do what it says: local image processing via the included Python script. Before using it for large/batch jobs: (1) 安装 Pillow (pip 安装 pillow) — 技能.md examples assume full functionality but don't explicitly show this. (2) Review and test on a small 设置 of non-sensitive images: the script has a few implementation bugs (crop parsing uses an incorrect split, some dimension/zero-handling 记录ic and reuse of args in batch mode can behave unexpectedly). (3) Because it operates on local fil...
详细分析 ▾
用途与能力
Name/description (image resize/convert/压缩) aligns with the provided script and 技能.md examples. The included script implements resize, crop, thumbnAIl, 格式化 conversion, blur, gray扩展, rotation, and batch processing — all consistent with the description.
指令范围
技能.md shows only local usage of the bundled script (python scripts/process.py ...). It does not instruct reading unrelated 系统 files, contacting external 端点s, or 访问ing secrets. Minor issue: 技能.md/Quick 启动 examples omit an explicit instruction to 安装 the Pillow dependency (the script's docstring references it), so users may encounter an 导入Error if Pillow is not 安装ed.
安装机制
No 安装 spec is present and the 技能 is instruction-only with an included Python script. No 下载s or external 安装 steps are 执行d by the 技能 itself. The only 运行time dependency is Pillow, which must be 安装ed by the user; this is low-risk.
凭证需求
The 技能 请求s no 环境 variables, no 凭证s, and no config paths. The script operates on local files provided by the user and does not attempt to read other 环境 data or secrets.
持久化与权限
The 技能 is not always-enabled and uses normal 模型-invocation defaults. It does not modify other 技能s or 系统-wide 设置tings and does not 请求 elevated/persistent privileges.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install dinghaibin-image-processor
镜像加速npx clawhub@latest install dinghaibin-image-processor --registry https://cn.longxiaskill.com

技能文档

Image 处理器

Process and convert images with resize, crop, 压缩, and 格式化 conversion.

Quick 启动 # Resize an image python scripts/process.py 输入.jpg --resize 800x600 --输出 输出.jpg

# Convert 格式化 python scripts/process.py 输入.png --格式化 jpg --输出 输出.jpg

Usage python scripts/process.py 输入 [OPTIONS]

Options: --输出 PATH 输出 file path --resize WxH Resize to dimensions --扩展 PERCENT 扩展 by percentage --crop WxH+X+Y Crop to dimensions --格式化 格式化 Convert 格式化: jpg, png, 网页p, gif --质量 质量 JPEG 质量 (1-100) --thumbnAIl SIZE 创建 thumbnAIl --gray扩展 Convert to gray扩展 --blur RADIUS 应用ly blur --rotate DEGREES Rotate image

Examples # Resize to 800px width python scripts/process.py photo.jpg --resize 800x0 --输出 small.jpg

# 创建 thumbnAIl python scripts/process.py photo.jpg --thumbnAIl 200x200 --输出 thumb.jpg

# 压缩 for 网页 python scripts/process.py large.jpg --质量 80 --格式化 网页p --输出 优化d.网页p

# Batch resize for f in *.jpg; do python scripts/process.py "$f" --resize 1200x0 --输出 "small_$f"; done

# Convert to PNG python scripts/process.py 输入.jpg --格式化 png --输出 输出.png

Features Resize (by dimensions or percentage) Crop 格式化 conversion (JPG, PNG, 网页P, GIF) 质量/压缩ion control ThumbnAIls Gray扩展 conversion Blur 过滤器 Rotation Batch processing

数据来源ClawHub ↗ · 中文优化:龙虾技能库