Convert SUN to PNG

Turn SUN images into PNG. Same size and colors, palette pictures included, with transparency when the picture has it.

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 PNG files.Same size and colors, with transparency when the picture has it.

  1. What you get

    A PNG with the same width and height as the SUN file. Colors stay the same, and palette pictures are included. When the picture has transparency, the PNG keeps it.

    Each conversion gives one file.

  2. Options

    Set Grayscale to turn colors into shades of gray. The result often has a smaller file.

    Set Max width or Max height to shrink a picture that is larger than the value you give, from 1 to 20000 pixels. The shape is kept. A picture that is already smaller stays as it is, so nothing is enlarged.

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  3. When it stops

    The conversion stops with input_corrupted when the file could not be parsed. No PNG is made in that case.

SUN and PNG.What each format is, and the options this conversion takes.

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

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 · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

terminal
$ cv convert photo.ras photo.png
$ cv convert photo.ras photo.png

Questions.What people ask about SUN to PNG.

01OF 04

Yes. Colors stay the same, palette pictures included. Transparency is kept when the picture has it.

Yes. Set Max width or Max height, and anything larger than the value is shrunk with its shape kept. Smaller pictures are not enlarged.

Yes. Set Rotate to 90, 180 or 270 to turn the result clockwise.

Yes. Use PNG to SUN to convert in the other direction.

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