PicaJet

Reference Formats

PEF

PEF is Pentax's proprietary raw format, first used on the *ist D digital SLR in 2003, storing unprocessed Bayer sensor data in a TIFF-based, losslessly compressed container.

Extension

.pef

Full name

Pentax Electronic File

Introduced

February 2003, with the Pentax *ist D

Vendor

Pentax (now Ricoh Imaging)

What is inside the container

PEF uses a TIFF-based structure carrying 12-bit or 14-bit Bayer sensor data compressed with a lossless scheme, plus standard EXIF fields and Pentax-specific maker-note metadata (lens ID, in-camera correction settings) and an embedded JPEG preview. There is no public specification, but the format has been thoroughly reverse-engineered, giving it broader and more stable third-party support than several other niche manufacturer raw formats. Many Pentax bodies can also shoot DNG natively in-camera as an alternative to PEF.

How to open it

Windows / macOS Adobe Camera Raw or Lightroom Classic, with standard PEF camera support
Pentax native Pentax Digital Camera Utility (formerly Silkypix-based), Ricoh Imaging's own raw converter
Cross-platform, open source RawTherapee or darktable, both decoding PEF via libraw
Command line / scripted workflows dcraw and libraw-based utilities, which have supported PEF for most of the format's history

For archives

PEF is proprietary but well understood by third-party decoders after two decades of reverse engineering, so the format itself is not an acute risk today. For DAM archival, converting to DNG is still worthwhile for long-term interoperability and to align with a single archival raw standard — and it is worth noting many Pentax bodies can shoot DNG directly in-camera, sidestepping the conversion step entirely.

Pentax introduced the *ist D in February 2003, its first digital SLR, and PEF alongside it as the camera’s native raw format. The name is generally expanded as Pentax Electronic File. Like most manufacturer raw formats of that generation, PEF is built on a TIFF skeleton, storing the sensor’s raw Bayer readout with lossless compression so file sizes stay smaller than an uncompressed capture while none of the original sensor data is discarded.

What distinguishes PEF from several of its contemporaries is Pentax’s own later move toward openness: many Pentax and Ricoh GR-series bodies let photographers shoot DNG directly in-camera as a built-in alternative to PEF, rather than requiring a separate conversion pass. That option does not exist for most competing manufacturer raw formats and reflects Pentax’s comparatively pragmatic approach to the archival-format question.

For DAM purposes, PEF is a lower-risk proprietary format than most: two decades of active reverse engineering means Adobe, libraw, RawTherapee, and darktable all handle it reliably. Still, converting incoming PEF to DNG (or simply favoring the camera’s native DNG shooting mode where available) keeps a photo library on one consistent archival raw standard rather than juggling per-manufacturer decoders indefinitely.

Frequently asked

Is PEF as risky for a DAM as other undocumented proprietary raw formats?

Less so. PEF has no public specification, but it has been thoroughly reverse-engineered over two decades, giving it broader and more stable third-party support than several other niche manufacturer raw formats.

Can Pentax cameras avoid the PEF-to-DNG conversion step entirely?

Yes, partly. Many Pentax and Ricoh GR-series bodies include a built-in DNG shooting mode, letting photographers capture directly in DNG instead of PEF and skip the conversion pass entirely for those files. That option is unusual among manufacturer raw formats and reflects Pentax's comparatively pragmatic approach to archival compatibility. Images already captured as PEF, however, still need converting to keep a DAM library on one consistent raw standard.

What compression and bit depth does PEF use?

PEF stores 12-bit or 14-bit Bayer sensor data inside a TIFF-based container, compressed with a lossless scheme so no sensor information is discarded while keeping files smaller than an uncompressed capture. Alongside the raw data, PEF carries standard EXIF fields, Pentax-specific maker-note metadata such as lens ID and in-camera correction settings, and an embedded JPEG preview for quick viewing.

When was PEF introduced?

Pentax introduced PEF in February 2003 alongside the *ist D, its first digital SLR camera. Like most manufacturer raw formats from that generation, PEF was built on a TIFF skeleton to store the sensor's unprocessed Bayer readout, and it has remained Pentax and Ricoh's native raw format for digital cameras in the more than two decades since.

Should a DAM still convert PEF to DNG despite its stable third-party support?

Yes. Even though two decades of reverse engineering mean Adobe Camera Raw, libraw, RawTherapee, and darktable all decode PEF reliably today, converting incoming PEF files to DNG — or favoring the camera's native DNG shooting mode where available — still keeps a photo library on one consistent archival raw standard. That avoids depending indefinitely on continued maintenance of per-manufacturer decoders, which is a narrower guarantee than a single openly documented format like DNG provides.

What native Pentax/Ricoh software opens PEF?

Pentax Digital Camera Utility is the manufacturer's own raw converter for PEF files, published by Ricoh Imaging since its acquisition of the Pentax brand. The software was formerly built on Silkypix decoding technology. It sits alongside broader third-party support: Adobe Camera Raw and Lightroom Classic read PEF natively on Windows and macOS, while RawTherapee and darktable decode it via the open-source libraw library.

What command-line tooling has historically supported PEF?

dcraw, the long-standing open-source command-line raw decoder, has supported PEF for most of the format's history, and libraw — the library derived from dcraw's decoding work — extends that support into many later scripted and batch-processing tools. Together they let DAM systems and automated pipelines read PEF files without relying on a GUI application such as Adobe Camera Raw or Pentax's own converter.

Who is the current owner of the Pentax brand and PEF format?

Ricoh Imaging owns the Pentax brand and the PEF format today. Ricoh acquired Pentax's imaging business from Hoya in 2011, after Hoya itself had bought the Pentax camera division from Pentax Corporation in 2008. Ricoh has continued using the Pentax name on its DSLR line and its raw converter software, so PEF remains tied to a name whose corporate ownership has changed twice in less than two decades.

Sources