Skip to content

HEIF to SUN Converter

FileFlip converts HEIF to SUN entirely inside your browser, using ImageMagick compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.

Convert HEIF to

How do I convert an HEIF file to SUN?#

  1. Drop your HEIF file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
  2. Leave the target set to SUN and the conversion starts on its own. FileFlip downloads 14.1 MB of WebAssembly the first time and nothing after that, then runs ImageMagick on your own machine.
  3. Save the SUN file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting HEIF to SUN lose quality?#

SUN is a lossless format, so nothing further is lost here, but nothing is recovered either. Whatever the HEIF encoder already threw away is gone, and the SUN file will usually be several times larger for exactly the same content.

Is it safe to convert HEIF files online?#

Yes, because nothing is uploaded. FileFlip converts HEIF files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.

You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.

How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.

What HEIF to SUN actually does to the file#

Converting HEIF to SUN runs on ImageMagick, downloads 14.1 MB of WebAssembly the first time and nothing after that, writes a lossless file that cannot recover what the source already discarded, and drops EXIF metadata, ICC colour profile, transparency, animation frames and extra images.

EngineImageMagick
Conversion pathOne step: HEIF → SUN
Downloaded to your browser14.1 MB, once, then cached by your browser
QualityLossless output, but nothing is recovered
You get backOne file
Where it runsIn a background worker, so the page stays responsive

What survives the conversion

What is in the fileThis conversionWhy
EXIF metadataDroppedThe target format has nowhere to put it.
ICC colour profileDroppedThe target format has nowhere to put it.
TransparencyDroppedThe target format has nowhere to put it.
Animation framesDroppedThe target format has nowhere to put it.
Extra imagesDroppedThe target format has nowhere to put it.

Worth knowing before you start:

  • ImageMagick is asked for a single image, so only the first frame, page, or icon size is read

What is an HEIF file?#

An HEIF file is a general-purpose container, built on the same ISO base media file format as MP4, that can hold one or more images encoded with any of several codecs, HEVC being the case Apple names HEIC and AV1 being the case standardized separately as AVIF.

Expect HEIF, rather than HEIC specifically, from cameras and devices that encode stills with a codec other than HEVC, since HEIF is the umbrella container those files also use.

Convert a HEIF file to JPEG or PNG when the destination only accepts a single, codec-agnostic raster image, since most upload forms and older software carry no HEIF decoder at all.

What is a SUN file?#

A SUN file is a Sun Raster bitmap, the same raw framebuffer image format Sun Microsystems shipped on SunOS workstations, saved under the alternate .sun extension some raster-image tools use in place of the identical .ras.

Recognise a .sun file as a Sun Raster image if it turns up alongside .ras files from the same legacy Solaris export or archive.

Convert SUN to PNG or TIFF for any modern use, since the .sun extension gets even less software recognition than .ras.

HEIF to SUN questions people ask#

What's the difference between HEIF and HEIC?

HEIF is the container format, defined by ISO/IEC 23008-12, and it can hold images encoded with several different codecs. HEIC is specifically a HEIF file whose images are encoded with HEVC, which is the case Apple uses for iPhone and iPad photos, so every HEIC file is a HEIF file but not every HEIF file is a HEIC file.

Is AVIF the same thing as HEIF?

AVIF is a HEIF file whose images are encoded with the AV1 codec, in the same way HEIC is a HEIF file encoded with HEVC. The AVIF specification is written explicitly as a profile of HEIF, but it registers its own MIME type and extension because AV1 avoids the patent licensing that comes with HEVC.

Why does my camera save photos with a .heif extension instead of .heic?

Some cameras, including recent Canon and Sony models, encode HEIF stills for 10-bit HDR photography using a codec setup that isn't the HEVC-in-HEIF case Apple calls HEIC, so they label the file with the generic .heif extension instead. The underlying container is the same either way.

What is a SUN file?

A SUN file is a Sun Raster bitmap, the simple framebuffer image format Sun Microsystems used on SunOS and Solaris workstations, identified by a fixed magic number at the start of the file rather than by its extension.