Skip to content

A simple script for uploading, displaying, and converting HEIF images to JPEG format using Python in Google Colab.

License

Notifications You must be signed in to change notification settings

rayan2162/heif_to_jpg_image_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

HEIF to JPEG Image Converter

This project provides a simple Python script to upload, convert, and display images in HEIF (High-Efficiency Image File) format, saving them as JPEGs. This script is designed to work in Google Colab and leverages pillow-heif and pyheif libraries for handling HEIF images.

Features

  • Upload HEIF images directly in Google Colab.
  • Convert HEIF images to JPEG format.
  • Display the uploaded HEIF image.
  • Save the converted image as a JPEG file.

Prerequisites

Make sure you have the following libraries installed:

!pip install pyheif
!pip install pillow-heif

How to Use

  1. Clone the repository or copy the code into your Colab notebook.
  2. Upload a HEIF image when prompted.
  3. The script will display the uploaded image and save it as converted_image.jpg.

License

This project is licensed under the MIT License.

About

A simple script for uploading, displaying, and converting HEIF images to JPEG format using Python in Google Colab.

Topics

Resources

License

Stars

Watchers

Forks