Convert SUN to JPG
Turn SUN images into JPEG. Same size at quality 90 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 Sun images as JPG files.A SUN raster image becomes a JPG at the same size, at quality 90.
What you get
One JPG file made from your SUN image. The width and height stay the same unless you ask for something else. Quality is 90 by default.
JPG is lossy compression, so some detail is lost when the picture is saved. Every device and browser opens the result.
Transparency becomes white
JPG cannot be transparent. Transparent areas are filled with white. Set Background to fill them with another color, written as #RRGGBB.
Options
Set Max width or Max height to shrink a picture that is larger than the limit. The shape is kept, and a smaller picture is never enlarged.
Set Quality between 1 and 100. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.
Failures
If the file cannot be parsed, the conversion stops with
input_corrupted.To go the other way, use JPG to SUN.
SUN and JPG.What each format is, and the options this conversion takes.
- 01 · background
Background
The color that fills transparent areas, for formats such as JPEG that cannot be transparent. Write it as #RRGGBB, such as #ffffff for white.
default #ffffff - 02 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 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 - 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 - 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 - 06 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
Sun Raster
Sun Microsystems raster images from old Unix workstations.
- Extensions
- .ras .sun
- MIME type
- image
/x -sun -raster - Kind
- Images
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same SUN to JPG conversion through the API, for your app or your agent.
$ cv convert photo.ras photo.jpg$ cv convert photo.ras photo.jpgQuestions.What people ask about SUN to JPG.
Yes. The width and height stay the same unless you set Max width or Max height.
They become white. Set Background to use another color.
Yes. JPG is lossy, so some detail is lost. A higher Quality keeps more detail.
The file could not be parsed. The conversion stops with input_corrupted when that happens.