πŸ–ΌοΈ

HEIC to JPG Converter

Convert iPhone HEIC photos to standard JPG format with batch processing support.

Image ⭐ Beginner ⏱️ 2 minutes

😫 The Pain Point

iPhones save photos in HEIC format to save space, but many websites and apps don’t support it. You have 500 vacation photos that won’t upload anywhere.

πŸš€ Agentic Solution

A Batch Converter that transforms HEIC to universal JPG format.

Key Features:

  • Batch Processing: Convert entire folders at once.
  • Quality Control: Adjustable JPG compression.
  • Metadata Preserve: Keeps EXIF data (date, location).

βš”οΈ Phase 1: Commander (Quick Fix)

For quick conversion.

Prompt:

β€œI have a folder iphone_photos with HEIC files. Write a Python script using pillow-heif and Pillow to:

  1. Convert: All .heic/.HEIC files to JPG.
  2. Quality: JPG quality = 90.
  3. Metadata: Preserve EXIF data if possible.
  4. Output: Save to converted/ folder.

Print progress (e.g., β€˜Converted 1/500: IMG_0001.HEIC’). Handle corrupt files gracefully.”

Result: Universal photos compatible with any platform.

πŸ—οΈ Phase 2: Architect (Permanent Tool)

For Photographers.

Engineering Prompt:

**Role:** Python Tool Developer
**Task:** Create a "HEIC to JPG Converter".

**Requirements:**
1.  **GUI:**
    *   Select input folder.
    *   Quality slider (1-100).
    *   Option: Delete originals after conversion.
    *   Progress bar.

2.  **Logic:**
    *   Use pillow-heif for HEIC reading.
    *   Transfer EXIF metadata.
    *   Handle read errors.

3.  **Deliverables:**
    *   `heic_converter.py`
    *   `run.bat`, `run.sh`
    *   `requirements.txt`

🧠 Prompt Decoding

  • pillow-heif: A Pillow plugin that adds HEIC support. Must be installed separately.

πŸ› οΈ Instructions

  1. Install: pip install pillow-heif
  2. Copy Prompt β†’ Run.

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.