Convert PNM to SUN

Turn PNM images into SUN. A Sun raster picture at the same size, without loss.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A Sun raster picture from your PNM file.The image keeps its width and height. Nothing is lost in the conversion.

  1. What you get

    One SUN file at the same size as your PNM image. The conversion is lossless, so the picture is not degraded on the way.

    PNM covers the PBM, PGM and PPM files. Any of them can be the input. The output is a Sun raster image, the format used on old Unix workstations, with the extension ras or sun.

  2. Options

    This conversion has no options. You give it a PNM file and get one SUN file back.

  3. Going the other way

    To turn a Sun raster file back into a PNM image, use SUN to PNM. For the other conversions of this format, see every SUN conversion.

PNM and SUN.What each format is.

The formats

From · 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
To · SUN

Sun Raster

Sun Microsystems raster images from old Unix workstations.

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

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

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

Questions.What people ask about PNM to SUN.

01OF 04

Yes. The width and height stay the same as in the PNM file.

No. The conversion is lossless.

Yes. PNM includes PBM, PGM and PPM images, and all of them are accepted.

No. There are no options for this conversion, and it gives you one file.

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