๐Ÿ–ผ๏ธ

Smart Image Compress

Optimize image file size (mb -> kb) for web usage without visible quality loss.

Image โญ Beginner โฑ๏ธ 3 minutes

๐Ÿ˜ซ The Pain Point

Your website takes 10 seconds to load because you uploaded 5MB raw images. Google penalizes slow sites. Customers leave.

๐Ÿš€ Agentic Solution

Optimizer: Removes redundant data and applies compression algorithms.

Key Features:

  • Optimization: Reduces size by ~70%.
  • Batch: Optimize entire media library.

โš”๏ธ Phase 1: Commander (Quick Fix)

For a quick fix.

Prompt:

โ€œCompress all images in this folder to Quality 70 using Pillowโ€™s optimize flag. Save to โ€˜Optimizedโ€™ folder.โ€

Result: Fast-loading images.

๐Ÿ—๏ธ Phase 2: Architect (Permanent Tool)

For Web/SEO Pros.

Engineering Prompt:

**Role:** Python Image Optimizer
**Task:** Create a "Batch Image Compressor".
**Requirements:**
1.  **GUI:**
    *   Select Folder.
    *   Slider: Compression Level (0-100, default 75).
    *   "Compress" button.
2.  **Logic:**
    *   Use `Image.save(..., optimize=True, quality=level)`.
    *   Calculate space saved.
    *   Support JPG/PNG.
3.  **Deliverables:** `compressor.py`, `run.bat` (Windows), `run.sh` (Mac).

๐Ÿง  Prompt Decoding

  • Quality 75: The โ€œSweet Spotโ€ for web images. It looks identical to Quality 100 to the human eye but is half the file size.

๐Ÿ› ๏ธ Instructions

  1. Copy Prompt -> Paste -> Run.
  2. Select Folder -> Compress.

Related Workflows

Explore other categories

๐Ÿ“ฌ

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

๐Ÿ“– Free eBook Guide ๐Ÿ“ฆ 7 Ready-to-use Scripts ๐Ÿ”” Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.