To convert HEIC to PNG, run `npx optimo photo.heic --format png`. PNG is useful for editing workflows and preserving crisp edges. Optimo handles format conversion and optimization in a single step.

## Command

Convert a file by targeting the output format:

```
npx optimo photo.heic --format png
```

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

## Why convert?

- PNG is useful for editing workflows and preserving crisp edges.
- A good choice when you need transparency (after editing).

## Format notes

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

**PNG**  
Lossless image format with sharp edges and great support for transparency.

## Frequently asked questions

**How do I convert HEIC to PNG?**  
Run "npx optimo photo.heic --format png" in your terminal. Optimo handles the format conversion and applies optimization in a single step.

**Why convert HEIC to PNG?**  
PNG is useful for editing workflows and preserving crisp edges. A good choice when you need transparency (after editing).

**Does converting HEIC to PNG lose quality?**  
Optimo uses sensible defaults that balance file size and quality. For lossless conversion (where possible), omit the --lossy flag. Add --dry-run to preview the result before committing.
