tatat/agents-playground50 installs
image-processing
Process, transform, and analyze images using common operations
How do I install this agent skill?
npx skills add https://github.com/tatat/agents-playground --skill image-processingIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides standard image processing capabilities using the Pillow library. It is generally safe but presents a minor risk surface for indirect prompt injection through malicious image metadata.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
What does this agent skill do?
Image Processing
Process and transform images.
Capabilities
- Resize and crop images
- Apply filters and adjustments
- Convert between formats
- Extract metadata and analyze content
Common Operations
Resize
from PIL import Image
img = Image.open("input.jpg")
img_resized = img.resize((800, 600), Image.LANCZOS)
img_resized.save("output.jpg")
Crop
# Crop box: (left, upper, right, lower)
img_cropped = img.crop((100, 100, 500, 400))
Format Conversion
img = Image.open("input.png")
img.convert("RGB").save("output.jpg", quality=85)
Filters
| Filter | Use Case |
|---|---|
| Blur | Reduce noise, privacy |
| Sharpen | Enhance details |
| Grayscale | Simplify, reduce size |
| Contrast | Improve visibility |
Supported Formats
- Input: JPEG, PNG, GIF, WebP, BMP, TIFF
- Output: JPEG, PNG, WebP
Best Practices
- Preserve aspect ratio when resizing
- Use appropriate quality settings (JPEG: 80-90)
- Strip metadata for privacy if needed
- Consider WebP for web delivery (smaller size)
Metadata Extraction
from PIL.ExifTags import TAGS
exif = img._getexif()
for tag_id, value in exif.items():
tag = TAGS.get(tag_id, tag_id)
print(f"{tag}: {value}")
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/tatat/agents-playground/image-processing">View image-processing on skillZs</a>