Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 2.14 KB

README.md

File metadata and controls

63 lines (42 loc) · 2.14 KB

HEIC/HEIF to JPEG Conversion Tool

简体中文

A precise and lightweight solution designed to convert HEIC/HEIF images to JPEG format.

Introduction

Watch Introduction Video

Features

  • Lightweight:The code is easy to understand, and does not rely on highly encapsulated libraries.
  • Color Accuracy:Minimally retains the color accuracy of P3 color gamut HEIF images.

Requirements

  • Python Environment (Tested on Python 3.12.5 x64)
    • If you do not have a Python environment, you can download the packaged exe version from release.

Usage

Python Script

  1. run pip install -r requirements.txt to install the required packages.
  2. Run the script with python heif2jpg.py [input_path]
  3. Use -h option to see full help.

Packaged exe

  1. Use heif2jpg.exe [-h] [-o OUTPUT] [--p3-to-srgb] [--no-icc] [--no-exif] [-q QUALITY] heif_path to convert files.
  2. Use -h option to see full help.

Note

Do not run the program directly. Instead, execute the script via the command line.

Warning

The packaged exe version may trigger false virus alerts. Please allow it to run. If you are concerned, you can run it offline or download the source code for inspection.

Extension

The code is simple and easy to understand, and you can easily modify it to a batch conversion tool or make other changes.

License

MIT License.

For more information:

Support

If you like this project, please give it a star! Your support is the greatest motivation for me to continue developing!

If you have any issues, please submit an issue!

If you have any good modification suggestions, please submit a Pull Request!

Thank you for your support! ❤

If possible, please leave your personal homepage in the "sponsor notes". Thank you for your support!