Skip to content

A simple Python script to convert images from HEIC/HEIF format (commonly used by iPhones) into standard JPG format (Quality + Information preserved).

License

Notifications You must be signed in to change notification settings

hoanghero125/heic2jpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HEIC2JPG

✍️ Created by Dek
πŸ“œ Licensed under the MIT License

A simple Python script to convert images from HEIC/HEIF format (commonly used by iPhones) into standard JPG format (Quality + Information preserved).

Note: This repo is designed for local use (Windows).

Google Collab: heic2jpeg


πŸ“‚ Folder Structure


heic2jpeg/
β”œβ”€β”€ converted_jpgs/         # Output folder for converted JPG files
β”œβ”€β”€ source_heics/           # Place your HEIC files here
β”œβ”€β”€ heic2jpeg.bat           # Double-click to run the converter (Windows)
β”œβ”€β”€ script.py               # Core Python script used by the batch file
β”œβ”€β”€ requirements.txt        # Dependencies
└── README.md

βš™οΈ Setup

  1. Run heic2jpeg.bat for the first time.

    • It will create the folder source_heics/.
  2. Place your .heic / .heif files into the source_heics/ folder.

  3. Run heic2jpeg.bat again.

    • All .heic / .heif files will be converted to .jpg.
    • The converted images will be saved in the converted_jpgs/ folder.

πŸ“¦ Dependencies

Dependencies are listed in requirements.txt.

pillow
pillow-heif

About

A simple Python script to convert images from HEIC/HEIF format (commonly used by iPhones) into standard JPG format (Quality + Information preserved).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published