Initializing... drag & drop files here
Supports: PPM
A .ppm is raw RGB with a three-line header — no compression, no alpha, no colour profile, and the Netpbm specification openly calls the layout "egregiously inefficient". Anything you encode it to will be dramatically smaller, so the real question is not whether to compress but which container earns the trip. The short answer: pick HEIC when the file is going to live inside Apple's ecosystem, pick AVIF when it is going on the web, and pick JPG when you have no idea what will open it. HEIC's compression is genuinely good; its reach is genuinely narrow.
| Property | HEIC (this page) | AVIF | JPG | PNG |
|---|---|---|---|---|
| Codec | HEVC still image | AV1 still image | JPEG DCT | Deflate |
| Container | HEIF (ISO/IEC 23008-12) over ISOBMFF | HEIF over ISOBMFF | JFIF | PNG |
| Lossy or lossless | Lossy here | Lossy here | Lossy | Lossless |
| Bit depth this site emits | 8-bit | 8-bit | 8-bit | 8-bit |
| Global browser support (caniuse) | 15.02% | 94.67% | Universal | Universal |
| Which browsers decode it | Safari 17+ only | Chrome 85+, Firefox 93+, Safari 16.4+, Edge 121+ | All | All |
| Our 1600 x 1200 test pixmap at the default preset | 108,286 bytes | 50,274 bytes | 148,641 bytes | 236,659 bytes |
| Licensing | HEVC patent pool | Royalty-free (AOMedia) | Unencumbered | Unencumbered |
| Best for | iPhone, iPad and macOS libraries | Web delivery, page weight | Sending to anyone | Exact pixels, re-editing |
The licensing row explains the support row. caniuse states the case plainly: it is hard for browsers to support HEIC because it is complex and expensive to license, which is precisely why AVIF and JPEG XL were designed to supersede it. On our test image AVIF was less than half the size of HEIC at the same preset and decodes in six times as many browsers.
.heic. Files upload over an encrypted connection, are processed on our servers, and are deleted automatically after a few hours. No sign-up, no watermark.Measured on one 1600 x 1200 P6 pixmap of 5,760,017 bytes, encoded through the same saver and the same quality values this page drives. The top row is the surprise.
| Preset | Encoder quality | HEIC bytes | Notes |
|---|---|---|---|
| Highest | 100 | 108,285 | Indistinguishable from Very High, in bytes and on screen |
| Very High (default) | 95 | 108,286 | The practical ceiling |
| High | 90 | 92,835 | First rung that actually reduces anything |
| Medium | 80 | 59,843 | |
| Lowest | 50 | 10,672 |
Highest and Very High came back within a single byte of each other, and we saw the same thing on three further test images — a flat logo, a smooth render frame and a heavy-grain synthetic photo — where Q100 and Q95 also matched while Q90 dropped clearly. The practical advice is to leave the default alone: choosing "Highest" costs encoding time and buys nothing. Note also that these numbers share a preset with the JPG column in the comparison table but not a quality scale — a quality value of 80 means something different to HEVC than it does to a JPEG encoder, so treat cross-format rows as a rough orientation, not a controlled test.
No. HEIF as a standard supports higher bit depths, but this conversion path drives the encoder with a quality value only and every output file we inspected reported 8 bits per channel with 4:2:0 chroma. There is also nothing wider in the source to preserve: a PPM holds plain integer RGB samples with no HDR metadata and no colour profile at all, so there is no dynamic range being discarded — there was never any to begin with.
Because it stores every sample verbatim. A P6 pixmap is width x height x 3 bytes plus a short header when maxval is under 256, and two bytes per sample above that — so a 12-megapixel 8-bit pixmap is roughly 36 MB whatever the picture shows, and a plain grey square costs exactly as much as a detailed photograph. P3 files are larger still, because each sample is written as ASCII decimal digits with separators.
Yes, some. PPM is uncompressed and HEIC here is lossy HEVC, so detail is discarded to reach the smaller size. At the default preset the difference is hard to see at normal viewing distance on photographic content. Flat graphics with hard edges show it sooner, because chroma subsampling softens saturated colour boundaries. If exact samples matter, PNG is the right target.
ftyp brands does the output file actually declare?We inspected the generated files: the major brand is heic with mif1, heic and miaf in the compatible-brands list, which is the standard HEVC-coded still-image profile and MIAF-conformant. That is what Apple's Photos and Preview expect. It is worth knowing because some tools sniff brands rather than extensions, and a file that fails to open elsewhere is usually a decoder problem rather than a malformed container.
Because they do not implement it. caniuse currently puts HEIF/HEIC at 15.02% of tracked global browser usage, and the only browser family in that figure is Safari 17 and later. The reason given is licensing: HEVC is patent-encumbered and expensive to ship in a free browser. This is not a bug you can work around with a different HEIC file — if a browser has to display it, convert to AVIF or JPG instead.
That claim is repeated everywhere and it is not what we measured. At the same preset our test pixmap produced 108,286 bytes of HEIC against 148,641 bytes of JPEG — better, but closer to three-quarters than to half — and at the Medium rung the HEIC was actually slightly the larger of the two. Preset numbers are not a shared quality scale across codecs, so neither result proves much on its own. The honest summary is that HEIC beats JPEG most clearly at high quality settings, and that AVIF beat both by a wide margin on the same image.
Not from this page. The lossless toggle does not render here, so the output is always lossy HEVC. If you need the pixmap's exact samples preserved, keep the PPM or convert to PNG, which compresses losslessly. There is no way to recover discarded detail afterwards by re-encoding the HEIC at a higher preset.
Your pixmap is uploaded over an encrypted connection and encoded on our servers. Files are deleted automatically after a few hours, there is no sign-up and no watermark, and nothing is shared or made public.