Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creimers/heic-to-jpg
CLI tool for converting HEIC images to jpg.
https://github.com/creimers/heic-to-jpg
cli heic-to-jpg
Last synced: 2 days ago
JSON representation
CLI tool for converting HEIC images to jpg.
- Host: GitHub
- URL: https://github.com/creimers/heic-to-jpg
- Owner: creimers
- License: mit
- Created: 2020-11-29T21:47:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-08T06:31:48.000Z (about 1 year ago)
- Last Synced: 2024-10-02T16:46:06.645Z (about 1 month ago)
- Topics: cli, heic-to-jpg
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 47
- Watchers: 2
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `heic-to-jpg` 📸
CLI tool for converting `HEIC` images to `jpg`.
Essentially, this is just a thin wrapper around imagemagick's [`convert`](https://imagemagick.org/script/convert.php) cli.
Motivation: When transfering images from an iPhone to a Mac via airdrop, they are being transfered as `HEIC`. Oftentime though, another format (such as `jpg`) is required to further make use of those images.
👉 ⚠️ Please note that [imagemagick](https://imagemagick.org/script/download.php) is a prerequisite for this to work.
👉 ⚠️ Please note that this has been tested on macOS only. There might be issues on other operating systems ([Linux](https://github.com/creimers/heic-to-jpg/issues/1), [Windows](https://github.com/creimers/heic-to-jpg/issues/2)).
## installation
`pip install heic-to-jpg`
(`pip3 install heic-to-jpg` for some; an up-to-date-ish python3 is recommended.)
## usage
`heic-to-jpg -s ~/path/to/source [--keep] [--debug None|Trace|All]`
or
`heic2jpg -s ~/path/to/source [--keep] [--debug None|Trace|All]`
`~/path/to/source` can both be a directory or a single `.HEIC` file. Without the `--keep` flag, the original file is deleted after conversion.