semvec/pypi-packages huggingface dataset:
pyheic 1.0.0
Convert HEIC images to JPEG from Python or the command line.
Requires Python: >=3.9
Keywords: heic, jpeg, image, conversion, cli

# pyheic

Python package to convert `.heic` / `.heif` images into `.jpg`.

## Install

```bash
pip install pyheic
```

For local development:

```bash
pip install -e .
```

## CLI usage

```bash
heic2jpeg input.heic
heic2jpeg input.heic --output output.jpg --quality 90
```

## Python usage

```python
from pyheic import convert_heic_to_jpeg

output = convert_heic_to_jpeg("input.heic", quality=90)
print(output)
```