HEIC is not one thing. HEIF is the container, HEVC is the codec, and the licensing around HEVC is why the format is welcome on phones and awkward everywhere else.
"HEIC" describes a file, not a compression method. Getting the two layers apart explains every compatibility question about it.
HEIF is an ISO media container — a box structure that can hold images, sequences, thumbnails and metadata. HEVC (also called H.265) is the video codec usually stored inside it for photos.
That split is why the same container can hold different codecs: a HEIF file is not guaranteed to be HEVC. In practice, phone cameras produce HEVC-in-HEIF and call it HEIC, and that is the file everyone means.
HEVC compresses roughly twice as efficiently as the JPEG baseline it replaced, which matters when a phone captures several thousand photos a year. The tradeoff lands on the desktop: HEVC decode is patent-encumbered, so operating systems ship it as an optional component rather than a built-in decoder. Windows handles HEIC through free HEIF extensions plus a paid-or-OEM HEVC extension; many third-party apps simply refuse the file.
For the technical comparison between HEVC and AV1, and why AVIF avoids the licensing problem entirely, see what is AVIF.
Size is not the issue. Portability is.
Every rung down the compatibility ladder costs bytes. Convert once, from the original, and keep the original.
A HEIC file is already lossy. Transcoded output carries both its quantisation and the new encoder's, so the second step should happen once, from the camera file — never from an earlier conversion.
Expect the converted file to be larger than the HEIC it came from. That is the price of portability, not a bug.
A HEIC file is already lossy. Transcoded output carries both its quantisation and the new encoder's, so the second step should happen once, from the camera file — never from an earlier conversion.
Expect the converted file to be larger than the HEIC it came from. That is the price of portability, not a bug.
Four practical points, in the order they cause trouble.
HEIF is the container; HEIC is the file extension Apple uses for HEVC-in-HEIF. Close enough in conversation, different things technically.
No. It is a lossy codec, usually with 10-bit precision. There is a lossless HEVC mode, but phones do not produce it.
HEVC decoding ships as an optional extension. Without it, the container is readable but the image is not.
Yes, once. JPEG is 8-bit and lossy, so both precision and detail are lost — unavoidable when the destination needs universal support.
HEIC if you want smaller files and accept Apple-centric workflows; JPEG if the files must circulate.