RAS to PNM Converter

Get PNM output from your RAS data online

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Server-Side Processing

Conversion happens entirely on Convertio's servers. Your device stays responsive while RAS data is transformed into PNM in the cloud.

Browser-Based

No software to install — open Convertio in any browser, upload your RAS data, choose PNM, and download. Works on every platform.

Quick Turnaround

Get your PNM output within seconds of uploading RAS data. Cloud processing keeps conversions fast even for larger inputs.

How to convert RAS to PNM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose pnm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your pnm file right afterwards

About formats

RAS (Sun Raster) is a raster image format developed by Sun Microsystems for their SunOS and Solaris Unix workstations, dating to approximately 1982. Sun Raster files store 2D bitmap images with support for 1-bit monochrome, 8-bit indexed color (with a color map), 24-bit true color (BGR byte order), and 32-bit XBGR (with an unused alpha byte). The format uses a 32-byte header containing a magic number (0x59a66a95), width, height, bit depth, data length, raster type (indicating compression), color map type, and color map length, followed by the optional color map data and the pixel data. RAS supports three encoding modes: standard (uncompressed, with each scanline padded to a 16-bit boundary), byte-encoded (run-length encoded using a simple escape-code scheme), and RGB (uncompressed with RGB rather than BGR byte order). Sun Raster was the native image format for Sun's window system and later the OpenWindows desktop environment, serving as the standard format for screenshots, icons, backgrounds, and application graphics on Sun workstations throughout the 1980s and 1990s. One advantage is the format's representation of Unix workstation computing heritage: Sun Raster files from the SunOS/Solaris era document the visual culture of an important computing platform that drove advances in networking, multiprocessing, and graphics workstation design. The format's straightforward structure is another practical strength — the 32-byte header and simple encoding make RAS files easy to parse and convert, even with custom code. RAS files are supported by ImageMagick, GIMP, XnView, and other image processing tools.
Developer: Sun Microsystems
Initial release: 1982
PNM (Portable Any Map) is an umbrella designation within the Netpbm family that encompasses all three classic portable map formats: PBM (Portable BitMap for monochrome), PGM (Portable GrayMap for grayscale), and PPM (Portable PixMap for color). Created by Jef Poskanzer in 1988 as part of the Pbmplus toolkit, PNM is not a distinct format with its own magic number but rather a collective name indicating that any of the three underlying formats may be used. When software reads a PNM file, it examines the magic number (P1/P4 for PBM, P2/P5 for PGM, P3/P6 for PPM) and processes accordingly; when software writes a PNM file, it selects the most appropriate subformat based on the image content. This convention allows Netpbm processing pipelines to pass images between tools without requiring the user to track which specific format is in use — every tool in the chain accepts PNM input and produces PNM output, with the actual format chosen automatically. The Netpbm toolkit provides hundreds of command-line utilities for image manipulation: scaling, rotation, color adjustment, compositing, format conversion, quantization, and analysis — all operating on PNM as the common interchange format. One advantage is pipeline composability: Netpbm tools can be chained with Unix pipes (e.g., pnmflip | pnmscale | ppmquant | ppmtogif) to build complex image processing operations from simple primitives, following the Unix philosophy of small, focused tools. The format family's cross-platform availability and language support is another strength — virtually every image processing library in every programming language can read and write PNM variants. PNM files are supported by ImageMagick, GIMP, and all major image tools.
Developer: Jef Poskanzer
Initial release: 1988

Frequently Asked Questions

Why convert RAS to PNM?

RAS was designed for Sun workstations and is obsolete today. PNM conversion ensures your image works across all modern platforms.

What programs open PNM files?

PNM files can be opened in GIMP, IrfanView, XnView, Netpbm tools, and any application supporting PBM/PGM/PPM.

Does this work on Mac and Linux?

Convertio is entirely browser-based, so it works on macOS, Linux, Windows, and even mobile platforms without any software installation.

Is batch RAS to PNM conversion possible?

Yes, Convertio lets you upload multiple RAS inputs at once. All of them are converted to PNM in parallel, speeding up your workflow.

Is RAS to PNM conversion lossless?

The pixel data from your RAS source is mapped faithfully to PNM. Whether the result is lossless depends on the PNM format's compression method.

Does RAS to PNM conversion cost anything?

Basic conversions are completely free. If you need higher volume or larger data support, Convertio offers affordable premium options.