Vertopal — Free Online Converter
Upload to Clouds
Drop Files Anywhere to Upload

Convert PGM to PNG

Convert PGM images to PNG format, edit and optimize images online and free.

Loading Uploader...
if you have uploaded a file, it will be displayed.
Confirm Cancel

Portable Graymap (.pgm)

The PGM which stands for Portable Gray-Map is a simple structured grayscale raster image format designed by Jef Poskanzer in the 1980s. It was designed to easily exchange binary images between different platforms.

PGM Converter More About PGM

Portable Network Graphics (.png)

PNG is a lossless bitmap image format developed by PNG Development Group in 1996. Supporting alpha transparency channel makes it an ideal choice for designing web icons and logos.

PNG Converter More About PNG

How to convert PGM to PNG?

  1. Upload PGM File

    Select any PGM image you wish to convert by clicking the Choose File button.

  2. Select PGM Tools

    To customize PGM to PNG conversion, use the available tools before clicking the Convert button.

  3. Download Your PNG

    Wait for the converter to finish and download your PNG image.

Convert PGM to PNG

Tools

PGM Rotate

Rotate PGM to right (90° clockwise), to left (90° counter-clockwise), 180°, and convert it to PNG.

PGM Flip

Flip PGM vertically and/or horizontally (flop), and convert it to PNG.

PNG Lossless Compression

Convert PGM to PNG and change the compression without loosing quality. A trade-off between file size and decoding speed.

PNG Color Mode

Convert PGM to Black & White (monochrome) PNG, 8-bit Grayscale PNG, 24-bit RGB PNG, and 32-bit RGBA PNG.

Interlaced PNG

Convert PGM to interlaced PNG.

Frequently Asked Questions

How to change PGM format to PNG?

To change PGM format to PNG, upload your PGM file to proceed to the preview page. Use any available tools if you want to edit and manipulate your PGM file. Click on the convert button and wait for the convert to complete. Download the converted PNG file afterward.

Convert Files on Desktop

macOS
Windows
Linux

Convert PGM to PNG on macOS

Follow steps below if you have installed Vertopal CLI on your macOS system.

  1. Open macOS Terminal.
  2. Either cd to PGM file location or include path to your input file.
  3. Paste and execute the command below, substituting in your PGM_INPUT_FILE name or path. $ vertopal convert PGM_INPUT_FILE --to png

Convert PGM to PNG on Windows

Follow steps below if you have installed Vertopal CLI on your Windows system.

  1. Open Command Prompt or Windows PowerShell.
  2. Either cd to PGM file location or include path to your input file.
  3. Paste and execute the command below, substituting in your PGM_INPUT_FILE name or path. $ vertopal convert PGM_INPUT_FILE --to png

Convert PGM to PNG on Linux

Follow steps below if you have installed Vertopal CLI on your Linux system.

  1. Open Linux Terminal.
  2. Either cd to PGM file location or include path to your input file.
  3. Paste and execute the command below, substituting in your PGM_INPUT_FILE name or path. $ vertopal convert PGM_INPUT_FILE --to png

Loading, Please Wait...