image-compression
Installation
SKILL.md
Platform Notes
- Optional helper plugins may help in some environments, but they must not be treated as required for this skill.
Image Compression
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
Use When
- Client-side image compression before upload using Squoosh with Canvas fallback and server-side Sharp validation. Use for web apps needing max width 1920px, max size 512KB, transparent UX, and consistent compression stats.
Evidence Produced
| Category | Artifact | Format | Example |
|---|---|---|---|
| Performance | Image compression policy | Markdown doc covering Squoosh client-side targets, Canvas fallback, and Sharp server-side validation budgets | docs/images/compression-policy.md |