Batch-convert and compress local images with Pillow; use when you need an offline, scriptable pipeline for directory-based processing.
54
61%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Other/image-processing/SKILL.mdwebp) and quality (default: 80).>= 3.9pip install -r scripts/requirements.txtFor additional examples, see
references/examples.md.
# 1) Install dependencies
pip install -r scripts/requirements.txt
# 2) Convert all images under <src> to WebP with quality 80, writing to <out>
python scripts/convert_images.py \
--source-dir "<src>" \
--output-dir "<out>" \
--format webp \
--quality 80
# 3) (Optional) Typical variants (flags may vary by implementation)
# - Enable recursion
# python scripts/convert_images.py --source-dir "<src>" --output-dir "<out>" --format webp --quality 80 --recursive
#
# - Allow overwriting existing outputs
# python scripts/convert_images.py --source-dir "<src>" --output-dir "<out>" --format webp --quality 80 --overwrite--source-dir.--output-dir.--source-dir is preserved under --output-dir.quality; enables progressive output.quality parameter (higher quality typically implies lower compression and vice versa, depending on the mapping used by the script).quality and sets method=6 for encoding.webp80image_processing_result.md unless the skill documentation defines a better convention.Run this minimal verification path before full execution when possible:
python scripts/convert_images.py --helpExpected output format:
Result file: image_processing_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if anyf5ef65b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.