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

Convert PGM to RAS

Convert PGM images to RAS 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

Sun Raster (.ras)

RAS and SR both stand for an identical format. A file with a RAS extension is the Sun Raster image file format developed by Sun Microsystems for their Unix platforms using SunOS operating system. This format supports storing monochrome, grayscale, and color-bitmapped data of any bitmap depth, and lossless data compression using RLE.

RAS Converter More About RAS

How to convert PGM to RAS?

  1. Upload PGM File

    Click the Choose File button to select the PGM file.

  2. Select PGM Tools

    Pick any PGM to RAS tools if you need to edit your PGM file, then click the Convert button.

  3. Download Your RAS

    After the convert is complete, click on the Download button to get your RAS image.

Convert PGM to RAS

Frequently Asked Questions

How to change PGM format to RAS?

To change PGM format to RAS, 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 RAS file afterward.

Convert Files on Desktop

macOS
Windows
Linux

Convert PGM to RAS 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 ras

Convert PGM to RAS 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 ras

Convert PGM to RAS 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 ras

Loading, Please Wait...