An open API service indexing awesome lists of open source software.

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:

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 directory

OPTIONS:
-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
```