Convert PNM to HEIC

Turn PNM images into HEIC. A HEIC picture at the same size, lossy at quality 60 unless asked otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNM files on the dialor turn it to pick what to do

A HEIC picture from a PNM file.The image keeps its width and height. It is saved as lossy HEIC at quality 60.

  1. What you get

    One HEIC file at the same size as your PNM image. PNM covers PBM, PGM and PPM, the simplest raster formats, and any of them can be the input.

    HEIC is the format iPhones shoot by default. It uses HEVC compression for stills.

  2. Lossy by default

    The conversion is lossy at quality 60 unless you ask for something else. Some detail is not kept, so the HEIC is not a pixel-for-pixel copy of the PNM.

    Set Quality to a value from 1 to 100. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

  3. Going the other way

    To turn a HEIC picture back into PNM, use HEIC to PNM.

PNM and HEIC.What each format is, and the options this conversion takes.

  1. 01 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 60

The formats

From · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images
To · HEIC

HEIC

The photo format iPhones shoot by default. HEVC-compressed stills, about half the size of JPEG.

Extensions
.heic .heif
MIME type
image/heic
Kind
Images

In your code.The same PNM to HEIC conversion through the API, for your app or your agent.

terminal
$ cv convert photo.pnm photo.heic
$ cv convert photo.pnm photo.heic

Questions.What people ask about PNM to HEIC.

01OF 04

Quality 60, unless you set Quality to another value between 1 and 100.

Yes, in width and height. The picture keeps the same dimensions.

Yes. The compression is lossy, so some detail is not kept. A higher Quality keeps more of it.

Above 90 the file grows quickly while the picture barely changes. Quality 60 is the default.

More conversions.Other ways in and out of PNM and HEIC.