Convert PNM to ICNS

Turn PNM images into ICNS. A macOS icon with the picture at 512, 256, 128, 32 and 16 pixels square, fitted and centered on a clear background.

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 macOS icon from a PNM image.One ICNS file holds your picture at five sizes.

  1. What you get

    One ICNS file, the format macOS uses for application icons. It holds the picture at 512, 256, 128, 32 and 16 pixels square, so one file covers the sizes an icon is shown at.

    The picture is fitted and centered on a clear background. It is not stretched to fill the square.

  2. What changes

    The sizes are fixed. Nothing in the conversion lets you pick other sizes or change how the picture is placed.

    If your image is not square, the empty space around it stays clear. PNM can be a PBM, PGM or PPM file, and each of these is accepted as the source.

  3. Going the other way

    To get a PNM image back out of an icon, use ICNS to PNM. For other conversions that start from PNM files, see every PNM conversion.

PNM and ICNS.What each format is.

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 · ICNS

Apple Icon Image

macOS application icons, one file holding the icon at several sizes.

Extensions
.icns
MIME type
image/x-icns
Kind
Images

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

terminal
$ cv convert photo.pnm photo.icns
$ cv convert photo.pnm photo.icns

Questions.What people ask about PNM to ICNS.

01OF 04

It contains 512, 256, 128, 32 and 16 pixels square. All of them are in the one file.

No. It is fitted and centered on a clear background, so it keeps its proportions.

Yes. PNM covers PBM, PGM and PPM, the portable anymap images.

No. This conversion has no options, and the five sizes are fixed.

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