SUN to CGM Converter

Free online SUN 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 SUN data, pick CGM, download the result. No technical knowledge required — Convertio handles everything.

Privacy First

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

Server-Side Processing

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

How to convert SUN 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

SUN is a raster image format associated with Sun Microsystems workstations, encompassing both the Sun Raster format (.ras) and the Sun Icon format used for window system icons and cursors on SunOS and Solaris systems. Sun Raster files, identifiable by their 0x59a66a95 magic number, store bitmap images in 1-bit monochrome, 8-bit indexed color, 24-bit BGR, or 32-bit XBGR modes, with optional run-length encoding compression and a 32-byte header. The Sun Icon subset is a simpler text-based format used for small monochrome bitmaps — window icons, cursor images, and toolbar graphics — stored as C-language data arrays that could be directly compiled into X Window and SunView applications. These icon files begin with a comment block specifying width, height, and optionally hot spot coordinates (for cursor images), followed by hexadecimal pixel values in a format readable by both the C compiler and the iconedit tool. Sun workstations running SunOS and later Solaris were foundational platforms for Unix computing, networking, and the early internet, and the SUN image formats were integral to their graphical environments. One advantage is the format's dual text/binary nature: Sun Icons are valid C source code that can be #included directly into applications, a practical approach to resource embedding that predates modern asset management systems. The Sun Raster variant's simplicity provides another strength — the 32-byte header and straightforward encoding make it one of the easiest binary image formats to parse. SUN format files are supported by ImageMagick, GIMP, XnView, and Unix image viewing 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 SUN to CGM?

The SUN format is nearly extinct in current software — converting to CGM rescues the image data for use in today's applications.

What programs open CGM files?

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

Why output to CGM format?

CGM provides ISO vector standard, technical illustration, CAD. Converting SUN data into CGM format opens up professional design and print possibilities.

How does Convertio protect my uploaded data?

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

Is the conversion process fast?

Yes — SUN to CGM conversion on Convertio usually completes in seconds. Cloud-based processing handles the work without taxing your device.

What platforms support this converter?

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