Metadata-Version: 2.1
Name: HEIC2PNG
Version: 0.9.5
Summary: Convert format of HEIC image to PNG by using Python.
Home-page: https://github.com/natlee/HEIC2PNG
Author: Nat Lee
Author-email: natlee.work@gmail.com
Project-URL: Documentation, https://github.com/natlee/HEIC2PNG
Project-URL: Bug Reports, https://github.com/natlee/HEIC2PNG/issues
Project-URL: Source Code, https://github.com/natlee/HEIC2PNG
Keywords: HEIC,PNG,converter,image
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# HEIC2PNG

[![Test](https://github.com/NatLee/HEIC2PNG/actions/workflows/test.yml/badge.svg)](https://github.com/NatLee/HEIC2PNG/actions/workflows/test.yml)[![Release](https://github.com/NatLee/HEIC2PNG/actions/workflows/release.yml/badge.svg)](https://github.com/NatLee/HEIC2PNG/actions/workflows/release.yml)

This is a tool for converting format of HEIC image to PNG by using Python.

And it can be used with python simple CLI.

I used the pypi package template to generate this repo, you can check it in the [references](#References).

## Installation

```bash
pip install heic2png
```

## Usage

Common use with code below.

```python
from heic2png import HEIC2PNG

if __name__ == '__main__':
    heic_img = HEIC2PNG('test.heic')
    heic_img.save() # it'll show as `test.png`

```

And, you can try simple CLI with this.

```bash
python -m heic2png --input_path test.heic --output_path test.png
```

Or, you want to keep original name, just use this.

```bash
python -m heic2png --input_path test.heic
```

It'll generate `test.png` for you.

## References

- [Example PyPi Package](https://github.com/tomchen/example_pypi_package)
- [Pillow HEIF](https://github.com/bigcat88/pillow_heif)
