namelessai commited on
Commit
363f46a
·
verified ·
1 Parent(s): 03672ff

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -1
README.md CHANGED
@@ -8,6 +8,51 @@ sdk_version: 5.39.0
8
  app_file: app.py
9
  pinned: false
10
  short_description: Heic converter. Lightweight, runs in Gradio.
 
11
  ---
 
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  app_file: app.py
9
  pinned: false
10
  short_description: Heic converter. Lightweight, runs in Gradio.
11
+ license: mit
12
  ---
13
+ # HEIC to PNG Converter
14
 
15
+ A simple Gradio-based web application for converting HEIC/HEIF images to lossless PNG format.
16
+
17
+ ## Features
18
+
19
+ - Convert single or multiple HEIC/HEIF images to PNG
20
+ - Lossless conversion to PNG format
21
+ - Simple and intuitive web interface
22
+ - Supports batch processing
23
+ - Cross-platform compatibility
24
+
25
+ ## Prerequisites
26
+
27
+ - Python 3.7 or higher
28
+ - pip (Python package installer)
29
+
30
+ ## Installation
31
+
32
+ 1. Clone this repository or download the files
33
+ 2. Install the required dependencies:
34
+
35
+ ```bash
36
+ pip install -r requirements.txt
37
+ ```
38
+
39
+ ## Usage
40
+
41
+ 1. Run the application:
42
+
43
+ ```bash
44
+ python app.py
45
+ ```
46
+
47
+ 2. Open your web browser and navigate to the URL shown in the terminal (usually http://localhost:7860)
48
+ 3. Click "Upload" to select one or more HEIC/HEIF files
49
+ 4. Wait for the conversion to complete
50
+ 5. Download the converted PNG files
51
+
52
+ ## How It Works
53
+
54
+ 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.
55
+
56
+ ## License
57
+
58
+ This project is open source and available under the MIT License.