Install
$ agentstack add skill-publisher-skill-claude-skill-image-processor ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Image Processor Skill
图片批量处理工具,日常办公必备!
功能特性
📐 尺寸调整
- 调整尺寸: 自定义宽高,自动保持宽高比
- 旋转图片: 90/180/270 度旋转
📦 格式压缩
- 格式转换: JPEG/PNG/WEBP/BMP 互转
- 批量压缩: 压缩图片大小,保持画质
- 质量控制: 0-100 质量可调
🖼️ 水印处理
- 添加水印: 支持多位置、透明度调整
- 批量水印: 一键给多张图加水印
📊 信息查看
- 获取信息: 尺寸、格式、大小等信息
- 批量操作: 一键处理整个文件夹
使用方法
Python API
from skills.image_processor import ImageProcessor
img = ImageProcessor()
# 检查是否可用
if not img.is_available():
print("请先安装: pip install Pillow")
exit(1)
# 调整尺寸
img.resize_image('input.jpg', 'output.jpg', 800, 600)
# 转换格式
img.convert_format('input.png', 'output.jpg', format='JPEG', quality=85)
# 压缩图片
img.compress_image('input.jpg', 'compressed.jpg', quality=70)
# 添加水印
img.add_watermark('input.jpg', 'output.jpg', 'watermark.png', position='se', opacity=0.5)
# 批量压缩
success, failed = img.batch_process('input_dir', 'output_dir', img.compress_image, quality=75)
API 参考
ImageProcessor 类
图片处理
resize_image(image_path, output_path, width, height, keep_ratio=True)- 调整尺寸rotate_image(image_path, output_path, angle)- 旋转图片convert_format(image_path, output_path, format='JPEG', quality=85)- 转换格式compress_image(image_path, output_path, quality=75)- 压缩图片add_watermark(image_path, output_path, watermark_path, position='se', opacity=0.5)- 添加水印
批量操作
batch_process(input_dir, output_dir, process_func, file_ext=None, **kwargs)- 批量处理
信息查看
get_info(image_path)- 获取图片信息is_available()- 检查是否可用
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: publisher-skill
- Source: publisher-skill/claude-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.