Convert format of HEIC image to PNG by using Python.
Project description
HEIC2PNG
This is a tool for converting format of HEIC image to PNG by using Python.
And it can be used with simple CLI mode.
I used the pypi package template to generate this repo, you can check it in the references.
Installation
pip install heic2png
You can visit it on https://pypi.org/project/HEIC2PNG/ .
Usage
Common use with code below.
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 CLI with this.
heic2png --input_path test.heic --output_path test.png
Or, you want to keep original name, just use this.
heic2png --input_path test.heic
It'll generate test.png
for you.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
HEIC2PNG-1.0.1.tar.gz
(4.2 kB
view hashes)