Get detailed information about an image file including resolution, channels, transparency, compression type, and metadata. Use this skill when the user needs to inspect image properties.
This skill provides a utility to display detailed information about image files, including resolution, color channels, transparency, compression type, and metadata.
uv run python .claude/skills/image_info/image_info.py <image_path>
Note: For brevity, examples below use image_info.py - prepend the full path .claude/skills/image_info/ when running.
The script will display:
Any image format supported by PIL/Pillow, including:
# Get info about a JPEG image
image_info.py photo.jpg
# Get info about a PNG with transparency
image_info.py logo.png
# Get info about a WEBP image
image_info.py screenshot.webp
# Using full path
uv run python .claude/skills/image_info/image_info.py public/images/skull.png
==================================================
Image Information: example.png
==================================================
📐 Dimensions:
Resolution: 1920 x 1080 pixels
Aspect Ratio: 1.78:1
🎨 Color Information:
Mode: RGBA
Channels: 4 (R, G, B, A)
Transparency: Yes
Color Palette: No
📄 File Information:
Format: PNG
Compression: None/Unknown
File Size: 245.67 KB (251,567 bytes)
📋 Additional Metadata:
gamma: 0.45455
...
==================================================
Any other embedded metadata such as:
The script will automatically install Pillow if it's not available.