RAS to CGM Converter

Free online RAS to CGM vector conversion

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

Simple Workflow

Three steps: upload RAS data, pick CGM, download the result. No technical knowledge required — Convertio handles everything.

Privacy First

Convertio automatically deletes uploaded RAS files after processing and purges CGM results within 24 hours. Your data stays yours.

Cloud-Powered

RAS to CGM conversion runs on Convertio's infrastructure, not your machine. Your device stays fast while the server handles the heavy lifting.

How to convert RAS to CGM

1

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

2

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

3

Let the file convert and you can download your cgm 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
CGM (Computer Graphics Metafile) is a vector graphics standard defined by ISO 8632, first published in 1987 and developed through the ISO/IEC JTC 1/SC 24 committee. The standard defines a device-independent format for storing and transferring two-dimensional vector graphics, raster images, and text. CGM supports three encoding methods: character encoding (compact text representation), binary encoding (efficient machine-readable form), and clear-text encoding (human-readable for debugging). The format describes graphical primitives including polylines, polygons, ellipses, circular arcs, splines, and text with associated attributes for color, line style, fill patterns, and clipping boundaries. CGM found its strongest adoption in technical documentation, particularly in aerospace, defense, and industrial sectors where long-term archival and precise technical illustration are critical. One advantage is formal standardization — as an ISO standard, CGM provides vendor-neutral, specification-driven interoperability guaranteed across compliant implementations. The format's adoption in specialized industries is another practical strength: WebCGM, a W3C profile of CGM, became the mandated illustration format for interactive electronic technical manuals in the aerospace industry (ATA iSpec 2200), ensuring CGM's continued relevance in aviation maintenance documentation. While general-purpose vector work has moved to SVG and PDF, CGM persists in regulated industries where certified, standards-based graphics interchange is mandatory.
Initial release: 1987

Frequently Asked Questions

Why convert RAS to CGM?

Very few applications still read the Sun Raster format. Converting to CGM gives the image a second life in today's software ecosystem.

What programs open CGM files?

CGM files can be opened in technical illustration viewers, CAD applications, and software with CGM support.

What platforms support this converter?

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

Can I convert multiple RAS data at once?

Yes — Convertio supports batch uploads. Queue several RAS inputs and convert them all to CGM in a single session to save time.

How long does RAS to CGM conversion take?

Most conversions finish within seconds. Processing time depends on your data size and server load, but results are typically ready almost instantly.

How does Convertio protect my uploaded data?

Your RAS data is encrypted during transfer and deleted after processing. Converted CGM outputs are purged from servers within 24 hours.