PGM to PNG Converter

Select files for conversion or just drag and drop them to the upload area

How to convert PGM files to PNG online?

Step 1.

Upload PGM-file

Click "Choose File" button to select a pgm file on your computer. PGM file size can be up to 50 Mb.
Step 2.

Convert PGM to PNG

Click "Convert" button to start conversion.
Step 3.

Download your PNG

Let the file convert and you can download your PNG file right afterwards.

Information about PGM and PNG file formats

Name PGM PNG
Full name PGM, Portable Gray Map Image PNG - Portable Network Graphics
File extension .pgm .png
MIME type image/x-portable-graymap image/png
Developed by Jef Poskanzer PNG Development Group
Type of format Raster image lossless bitmap image format
Description PGM files are known as portable graymap files and contain grayscale image information. These files can be saved in two representations, either as plain (ASCII) text or binary. In which way the PGM is saved is apparent in the file header. If the header contains the string "P2" it is a text format, if it contains the string "P5", it's a binary representation. Binary PGM files can contain more than one image. This is not possible for the text-based PGM. It is limited to one image. Portable Network Graphics (PNG) is a raster graphics file format that supports lossless data compression. PNG was created as an improved, non-patented replacement for Graphics Interchange Format (GIF), and is the most used lossless image compression format on the Internet. PNG itself does not support animation at all. MNG is an extension to PNG that does; it was designed by members of the PNG Group.
Technical details Portaple Gray Map Images can be encoded using either one byte or two bytes per pixel, representing either 8 or 16 bits. The file header contains different information such as the width and height of the image and the maximum number of black and white shades. The information is stored in a grit format, consisting of different numbers. These numbers represent the grayscale shades of the image, ranging from black (0) to white (65.536). PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without alpha channel), and full-color non-palette-based RGB[A] images (with or without alpha channel). PNG was designed for transferring images on the Internet, not for professional-quality print graphics, and therefore does not support non-RGB color spaces such as CMYK.
Associated programs ACD Systems ACDSee 18, ACD System Canvas 15, Adobe Photoshop with plug-in, Corel PaintShop Pro X8, GIMP, Inkscape, Netpbm Adobe Photoshop, Paint Shop Pro, the GIMP, GraphicConverter, Helicon Filter, ImageMagick, Inkscape, IrfanView, Pixel image editor, Paint.NET, Xara Photo & Graphic Designer.
Wiki https://en.wikipedia.org/wiki/Netpbm_format https://en.wikipedia.org/wiki/Portable_Network_Graphics