To convert PNG to JPEG, run `npx optimo image.png --format jpeg`. JPEG is often far smaller for photographs and complex gradients. Optimo handles format conversion and optimization in a single step.

## Command

Convert a file by targeting the output format:

```
npx optimo image.png --format jpeg
```

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

## Why convert?

- JPEG is often far smaller for photographs and complex gradients.
- Useful when transparency is not needed.

## Format notes

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

**JPEG**  
The classic photo format: widely supported, good quality-to-size for photographs.

## Not sure which to use?

If you're choosing a delivery format, here's a quick comparison.
