Convert SUN to PNM

Turn SUN images into PNM. A Netpbm picture with the same pixels, uncompressed, so the file is large.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop SUN files on the dialor turn it to pick what to do

Old Sun images as plain Netpbm.The picture keeps its pixels. The file is not compressed.

  1. What you get

    A single PNM file with the same pixels as the SUN image. PNM is the simplest raster format, and it covers PBM, PGM and PPM.

    The file is uncompressed, so it is large.

  2. What it leaves behind

    Transparency. PNM has no place for it, so it is dropped from the output.

  3. Going the other way

    To turn a PNM file back into a Sun raster, use PNM to SUN.

SUN and PNM.What each format is.

The formats

From · SUN

Sun Raster

Sun Microsystems raster images from old Unix workstations.

Extensions
.ras .sun
MIME type
image/x-sun-raster
Kind
Images
To · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images

In your code.The same SUN to PNM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.ras photo.pnm
$ cv convert photo.ras photo.pnm

Questions.What people ask about SUN to PNM.

01OF 04

It is a Sun Microsystems raster image from old Unix workstations. Its extensions are ras and sun.

No. The PNM file has the same pixels as the SUN image.

PNM is stored uncompressed, so the file is large.

No. Transparency is dropped in the conversion.

More conversions.Other ways in and out of SUN and PNM.