Spaces:
Sleeping
Sleeping
title: Heic | |
emoji: π | |
colorFrom: blue | |
colorTo: green | |
sdk: gradio | |
sdk_version: 5.39.0 | |
app_file: app.py | |
pinned: false | |
short_description: Heic converter. Lightweight, runs in Gradio. | |
license: mit | |
# HEIC to PNG Converter | |
A simple Gradio-based web application for converting HEIC/HEIF images to lossless PNG format. | |
## Features | |
- Convert single or multiple HEIC/HEIF images to PNG | |
- Lossless conversion to PNG format | |
- Simple and intuitive web interface | |
- Supports batch processing | |
- Cross-platform compatibility | |
## Prerequisites | |
- Python 3.7 or higher | |
- pip (Python package installer) | |
## Installation | |
1. Clone this repository or download the files | |
2. Install the required dependencies: | |
```bash | |
pip install -r requirements.txt | |
``` | |
## Usage | |
1. Run the application: | |
```bash | |
python app.py | |
``` | |
2. Open your web browser and navigate to the URL shown in the terminal (usually http://localhost:7860) | |
3. Click "Upload" to select one or more HEIC/HEIF files | |
4. Wait for the conversion to complete | |
5. Download the converted PNG files | |
## How It Works | |
The application uses the `pillow-heif` library to handle HEIC/HEIF files and converts them to PNG format using the Python Imaging Library (PIL). The conversion is done with lossless compression to ensure the highest possible image quality. | |
## License | |
This project is open source and available under the MIT License. |