screenshot-compression
CommunityShrink screenshots while keeping original format
Authorzc277584121
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill reduces large screenshot file sizes by compressing PNG and JPEG images in place while preserving original formats and broad compatibility, avoiding format changes that break editors or platforms.
Core Features & Use Cases
- In-place compression: Overwrites original PNG and JPEG screenshots with optimized versions to save storage and bandwidth.
- PNG and JPEG tuning: Uses pngquant quality ranges and jpegoptim quality parameters to balance quality and size for different scenarios.
- Batch and recursive processing: Compress single files, entire directories, or recursively scan folders for documentation, README images, blog posts, and repository assets.
Quick Start
Run the compress_screenshots.py script on the target files or directories to compress PNG and JPEG images in place using pngquant and jpegoptim.
Dependency Matrix
Required Modules
pngquantjpegoptim
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: screenshot-compression Download link: https://github.com/zc277584121/marketing-skills/archive/main.zip#screenshot-compression Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.