.SUN File Extension

Sun Raster Graphic

Developer Sun Microsystems
3.1  |  10 Votes

What is a SUN file?

A SUN file is a bitmap image saved in a proprietary format created by Sun Microsystems. It contains a photo or graphic. Workstations that use the SunOS operating system save images as SUN files.

More Information

Screenshot of a .sun file in qView
SUN file open in qView

Sun Microsystems was a computer and software company that was founded in 1982 and bought by Oracle in 2010. The company included a proprietary operating system, SunOS, on the workstations and servers it sold.

Systems that ran SunOS often saved raster images in the Sun Raster Graphic format. These images could be compressed or uncompressed, and they could be grayscale, paletted, or full-color images. Each SUN file includes a fixed 32-byte header, which begins with a magic number (59a66a95) that identifies the file as a Sun Raster Graphic.

NOTE: Sun Raster Graphics also use the .RAS, .RS, and .SR extensions.

How to open a SUN file

You can open a SUN file in many image viewers and editors. Some examples include:

How to convert a SUN file

You can use XnViewMP or ImageMagick to convert SUN files to other image formats. For example, ImageMagick can convert SUN files to the following formats:

  • .JPG - JPEG Image
  • .PNG - Portable Network Graphic
  • .TIFF - Tagged Image File Format
  • .BMP - Bitmap Image
  • .WMF - Windows Metafile
  • .MIFF - Magick Image
  • .SVG - Scalable Vector Graphics
  • .EPS - Encapsulated PostScript
  • .GIF - Graphical Interchange Format
Open over 400 file formats with File Viewer Plus.Free Download

Programs that open SUN files


Verified by FileInfo.com

The FileInfo.com team has independently researched the Sun Raster Graphic file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.