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:

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 Compress WebP Resize WebP WebP guide

HEIC

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

Optimize HEIC Compress HEIC Resize HEIC HEIC guide