Convert SUN to WEBP

Turn SUN images into WEBP. Same size, with transparency when the picture has it, lossy at quality 90 unless lossless is set.

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

  1. What you get

    One WebP file with the same width and height as the SUN image. If the picture has transparency, the WebP keeps it.

    By default the conversion is lossy at Quality 90. Some detail is lost in that step, so the pixels are not identical to the SUN original.

  2. Lossless or lossy

    Turn on Lossless to encode without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

    Without Lossless, Quality sets how much detail is kept, from 1 to 100. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

  3. Size and color options

    Set Max width or Set Max height to shrink a large picture while keeping its shape. Anything smaller than the limit stays as it is, so nothing is enlarged. Both accept values from 1 to 20000 pixels.

    Grayscale turns colors into shades of gray, which often makes the file smaller. Rotate turns the result clockwise by 90, 180 or 270 degrees.

    To go the other way, use WEBP to SUN.

SUN and WEBP.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 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  3. 03 · 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
  4. 04 · 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
  5. 05 · 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 90
  6. 06 · 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 · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

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

terminal
$ cv convert photo.ras photo.webp
$ cv convert photo.ras photo.webp

Questions.What people ask about SUN to WEBP.

01OF 04

Yes. The width and height stay the same unless you set Max width or Max height, which only shrink larger pictures.

Yes, when the SUN picture has transparency, the WebP has it too.

Turn on Lossless. The result is identical to the input in pixels or samples, but much bigger than a lossy one.

Quality is 90 by default. You can set it anywhere from 1 to 100.

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