Back to list
tatat

image-processing

by tatat

1🍴 0📅 Jan 5, 2026

SKILL.md


name: image-processing description: Process, transform, and analyze images using common operations

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

FilterUse Case
BlurReduce noise, privacy
SharpenEnhance details
GrayscaleSimplify, reduce size
ContrastImprove visibility

Supported Formats

  • Input: JPEG, PNG, GIF, WebP, BMP, TIFF
  • Output: JPEG, PNG, WebP

Best Practices

  1. Preserve aspect ratio when resizing
  2. Use appropriate quality settings (JPEG: 80-90)
  3. Strip metadata for privacy if needed
  4. 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}")

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon