Convert SUN to AVIF

Turn SUN images into AVIF. Same size, with transparency when the picture has it, lossy at quality 60 unless asked otherwise.

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 workstation pictures as AVIF.Same width and height, with transparency kept when the picture has it.

  1. What you get

    One AVIF file from your SUN image. The picture keeps its width and height, and transparent areas stay transparent when the SUN image has them.

    The conversion is lossy and runs at quality 60 unless you ask for something else. Some detail is lost in compression.

  2. Quality and size

    Set Quality to a value from 1 to 100. Higher values keep more detail and make a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Set Max width or Max height to shrink a large picture. Anything larger than the limit is reduced and keeps its shape. Anything smaller stays as it is, so nothing is enlarged.

  3. Turning the picture

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Leave it unset and the picture keeps its orientation.

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

  1. 01 · 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
  2. 02 · 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
  3. 03 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 60
  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 · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

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

terminal
$ cv convert photo.ras photo.avif
$ cv convert photo.ras photo.avif

Questions.What people ask about SUN to AVIF.

01OF 04

Yes. It runs at quality 60 unless you change Quality, so some detail is lost.

Yes, when the SUN picture has transparency. The AVIF keeps it.

Yes. Set Max width or Max height, and larger pictures shrink while keeping their shape. Pictures already under the limit are not enlarged.

Yes. Use AVIF to SUN for the other direction.

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