To convert WebP to HEIC, run `npx optimo image.webp --format heic`. HEIC can be useful for Apple-focused workflows. Optimo handles format conversion and optimization in a single step.

## Command

Convert a file by targeting the output format:

```bash
npx optimo image.webp --format heic
```

Tip: add `--dry-run` to preview changes.

## Why convert?

- HEIC can be useful for Apple-focused workflows.
- Helpful when exporting to camera-like ecosystems or specific tooling.

## Format notes

### WebP

Modern image format with great compression and broad browser support.

[Optimize WebP](/content/optimize/webp/index.html) [Compress WebP](/content/compress/webp/index.html) [Resize WebP](/content/resize/webp/index.html) [WebP guide](/content/formats/webp/index.html)

### HEIC

A common camera output format (especially Apple devices) with efficient compression.

[Optimize HEIC](/content/optimize/heic/index.html) [Compress HEIC](/content/compress/heic/index.html) [Resize HEIC](/content/resize/heic/index.html) [HEIC guide](/content/formats/heic/index.html)
