Convert PNM to ICO

Turn PNM images into ICO. One icon holding 256, 128, 64, 48, 32 and 16 pixel squares.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

One icon file from a PNM image.Your PNM picture becomes a single ICO file with six sizes inside.

  1. What you get

    One ICO file. It holds the picture as squares of 256, 128, 64, 48, 32 and 16 pixels, all in the same file.

    The input can be any of the PNM family: PBM, PGM or PPM.

  2. Pictures that are not square

    An icon size is a square, so a picture that is not square is centered on a transparent square. The picture is not stretched. The transparent area fills the space around it.

  3. Going the other way

    To turn an icon back into a PNM image, use ICO to PNM.

PNM and ICO.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 · ICO

Windows Icon

Windows icons, several sizes in one file.

Extensions
.ico
MIME type
image/vnd.microsoft.icon
Kind
Images

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

terminal
$ cv convert photo.pnm photo.ico
$ cv convert photo.pnm photo.ico

Questions.What people ask about PNM to ICO.

01OF 04

It contains 256, 128, 64, 48, 32 and 16 pixel squares. All six are in one file.

Yes. PBM, PGM and PPM are all read as PNM.

It is centered on a transparent square. The picture keeps its shape.

You get one file. All the sizes are inside the single ICO.

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