https://github.com/henry781/heic
A utility to convert images to heic :camera:
https://github.com/henry781/heic
heic heif
Last synced: 3 months ago
JSON representation
A utility to convert images to heic :camera:
- Host: GitHub
- URL: https://github.com/henry781/heic
- Owner: henry781
- License: mit
- Created: 2022-11-21T14:24:05.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-21T19:33:59.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T13:11:57.351Z (8 months ago)
- Topics: heic, heif
- Language: Swift
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# heic
A utility to convert images to heic.
## Usage
```
heic [--quality ]
``````
ARGUMENTS:
Source file or directory
Destination file or directoryOPTIONS:
-q, --quality Quality between 1 and 100 (lossless)
```## Examples
### Convert a single image to heic
```
heic ../IMG_2063.png ../IMG_2063.heic
```* **destination** should end with `.heic` or `.HEIC`
### Convert images in a directory to heic
```
heic ../images ../images_heic
```* **destination** should be a directory
* this tool creates the same structure in the **destination** directory## Story
I have a library with thousands of large pictures (50mb to 100mb) in tiff, png...
This tool allows to create a portable copy of my library using heic.## Contributing
This is one of my first code in swift, it can certainly be improved.
Build
```
swift build
```Build release
```
swift build -c release
```