Convert GIF to PNM

Turn GIF images into PNM. A Netpbm picture with the same pixels, uncompressed, so the file is large.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A plain Netpbm picture from a GIF.The pixels carry over as they are. The file is not compressed.

  1. What you get

    One PNM file with the same pixels as the GIF. PNM is the simplest raster format, and the file holds the picture without compression, so it is large.

    The result is a single file for each GIF you convert.

  2. What changes

    Transparency is dropped. The PNM file has no transparent areas.

    An animated GIF gives only its first frame. The other frames are not in the output.

  3. Going back

    To turn a PNM file into a GIF again, use PNM to GIF. The GIF will be a new file made from the PNM pixels.

GIF and PNM.What each format is.

The formats

From · GIF

GIF

Indexed-color images with simple animation. Limited to 256 colors per frame.

Extensions
.gif
MIME type
image/gif
Kind
Images
To · 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

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

terminal
$ cv convert photo.gif photo.pnm
$ cv convert photo.gif photo.pnm

Questions.What people ask about GIF to PNM.

01OF 04

Yes. The picture has the same pixels as the GIF, stored without compression.

PNM is uncompressed, so the file stores the picture without any packing. That makes it large.

You get the first frame only. The rest of the animation is not kept.

No. Transparency is dropped in the PNM file.

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