PEF to SUN Converter

Convert PEF images to SUN format online — fast and free

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Cloud Processing

The PEF to SUN conversion runs entirely on cloud servers — your computer stays fast and responsive while the heavy processing happens remotely.

Quick Conversion

PEF to SUN conversion is fast. Cloud-based processing eliminates waiting — your converted file is available within seconds of upload.

Convert Many at Once

Batch mode lets you queue several PEF images and convert each to SUN without repeating the upload-select-download cycle for every file.

How to convert PEF to SUN

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose sun or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your sun file right afterwards

About formats

PEF (Pentax Electronic Format) is the proprietary RAW image format used by Pentax digital SLR and mirrorless cameras, introduced in 2003 with the *ist D — Pentax's first digital SLR — and continuing through the current K-mount and medium-format 645 lineup. PEF files capture the unprocessed 12-bit or 14-bit readout from the camera's CMOS sensor in its native Bayer mosaic pattern, stored in a TIFF-based container with Huffman-coded lossless compression. The format includes embedded JPEG previews at multiple sizes, comprehensive EXIF metadata, and Pentax-specific MakerNote tags that record Custom Image mode settings, Shake Reduction (SR) gyroscope data, lens identification from the K-mount electronic interface, and the camera's Auto Level correction parameters. Pentax cameras are notable for their weather-sealed construction and compatibility with the vast legacy of K-mount lenses dating back to 1975, and PEF files from these bodies can include manual lens metadata entered through the camera's menu system. One advantage is the preservation of Pentax's distinctive color rendering — the brand's Custom Image modes (Bright, Natural, Reversal Film, Bleach Bypass, etc.) are stored as metadata rather than applied to the raw data, allowing photographers to explore different rendering interpretations during post-processing while the original sensor capture remains untouched. The format's longevity is another strength: PEF files from every Pentax DSLR are supported by Adobe Lightroom, Capture One, dcraw, RawTherapee, Pentax's own Digital Camera Utility, and other modern RAW processors.
Developer: Pentax
Initial release: 2003
SUN is a raster image format associated with Sun Microsystems workstations, encompassing both the Sun Raster format (.ras) and the Sun Icon format used for window system icons and cursors on SunOS and Solaris systems. Sun Raster files, identifiable by their 0x59a66a95 magic number, store bitmap images in 1-bit monochrome, 8-bit indexed color, 24-bit BGR, or 32-bit XBGR modes, with optional run-length encoding compression and a 32-byte header. The Sun Icon subset is a simpler text-based format used for small monochrome bitmaps — window icons, cursor images, and toolbar graphics — stored as C-language data arrays that could be directly compiled into X Window and SunView applications. These icon files begin with a comment block specifying width, height, and optionally hot spot coordinates (for cursor images), followed by hexadecimal pixel values in a format readable by both the C compiler and the iconedit tool. Sun workstations running SunOS and later Solaris were foundational platforms for Unix computing, networking, and the early internet, and the SUN image formats were integral to their graphical environments. One advantage is the format's dual text/binary nature: Sun Icons are valid C source code that can be #included directly into applications, a practical approach to resource embedding that predates modern asset management systems. The Sun Raster variant's simplicity provides another strength — the 32-byte header and straightforward encoding make it one of the easiest binary image formats to parse. SUN format files are supported by ImageMagick, GIMP, XnView, and Unix image viewing tools.
Developer: Sun Microsystems
Initial release: 1982

Frequently Asked Questions

Why convert PEF to SUN?

PEF is Pentax's proprietary RAW format with limited viewer support — converting to SUN ensures your Pentax photos remain accessible long-term.

What applications work with SUN?

Compatible apps include IrfanView, XnView, GIMP, and Unix/Solaris desktop tools.

How fast is the PEF to SUN conversion?

Speed depends on file size, but most PEF to SUN conversions complete in under a minute. Server-side processing ensures quick turnaround.

How long are converted files stored?

Converted SUN files remain available for download for up to 24 hours, after which they are automatically deleted from Convertio servers.

Does the converter work on all devices?

Convertio works on any device with a web browser — desktop computers, laptops, tablets, and phones across all operating systems.

Does converting PEF to SUN affect quality?

Your PEF image data is processed carefully during conversion. The resulting SUN retains the maximum quality the target format can support.