RAS to PGX Converter

Change RAS format to PGX with our free tool

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 PGX in the cloud.

Browser-Based

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

Fast Results

RAS to PGX conversion typically completes in seconds. Upload, convert, and download — the full workflow takes under a minute for most inputs.

How to convert RAS to PGX

1

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

2

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

3

Let the file convert and you can download your pgx 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
PGX is a simple single-component raster image format defined as part of the JPEG 2000 standard (ISO/IEC 15444) for use in conformance testing and verification of JPEG 2000 codec implementations. Introduced around 2000 alongside the JPEG 2000 specification itself, PGX files store a single image component (one color channel or grayscale plane) with a text header followed by raw pixel data, providing an unambiguous reference representation against which encoder and decoder outputs can be compared sample by sample. The header is a single ASCII line specifying endianness (ML for big-endian, LM for little-endian), signedness (+ for unsigned, - for signed), bit depth (1 to 32 bits), width, and height. The pixel data follows as raw binary values, each occupying the minimum number of bytes needed for the specified bit depth, with one value per pixel. For multi-component images (like RGB), each component is stored in a separate PGX file. The format's deliberate simplicity — no compression, no metadata, no multi-channel support — ensures there are no ambiguities in interpretation that could mask codec bugs. One advantage is verification precision: PGX's uncompressed, exactly-specified representation allows bit-exact comparison of decoded JPEG 2000 output against reference images, essential for certifying that a codec implementation conforms to the standard. The format's role in the JPEG 2000 conformance testing framework means it is implemented by every serious JPEG 2000 codec (OpenJPEG, Kakadu, etc.) and used in the official ISO conformance test suite. PGX files can also be processed by ImageMagick and various JPEG 2000 development tools.
Initial release: 2000

Frequently Asked Questions

Why convert RAS to PGX?

Sun Raster files date back to the SunOS era and few modern tools open them. PGX brings your image into a widely supported format.

What programs open PGX files?

PGX files can be opened in JPEG 2000 reference software, OpenJPEG tools, and image codec testing applications.

What makes PGX a good target format?

PGX offers JPEG 2000 reference, single-component, testing format. It gives your raw RAS data a proper structure that any image viewer or editor can handle.

Can I convert RAS to PGX for free?

Yes, Convertio offers free RAS to PGX conversion. For heavy usage or larger data, premium subscriptions provide additional capacity.

What platforms support this converter?

Convertio runs in any modern web browser — Chrome, Firefox, Safari, Edge — on Windows, macOS, Linux, Android, and iOS devices.

Is RAS to PGX conversion lossless?

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