{"id":2608,"date":"2026-08-08T01:50:57","date_gmt":"2026-08-07T22:50:57","guid":{"rendered":"https:\/\/picajet.com\/articles\/formats\/pef\/"},"modified":"2026-08-08T03:47:20","modified_gmt":"2026-08-08T00:47:20","slug":"pef","status":"publish","type":"format","link":"https:\/\/picajet.com\/articles\/formats\/pef\/","title":{"rendered":"PEF"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Pentax introduced the *ist D in February 2003, its first digital SLR, and PEF alongside it as the camera&#8217;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&#8217;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.<\/p><p class=\"wp-block-paragraph\">What distinguishes PEF from several of its contemporaries is Pentax&#8217;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&#8217;s comparatively pragmatic approach to the archival-format question.<\/p><p class=\"wp-block-paragraph\">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&#8217;s native DNG shooting mode where available) keeps a photo library on one consistent archival raw standard rather than juggling per-manufacturer decoders indefinitely.<\/p>","protected":false},"excerpt":{"rendered":"<p>PEF is Pentax&#8217;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.<\/p>\n","protected":false},"author":0,"featured_media":0,"template":"","meta":{"footnotes":"","faq":[{"question":"Is PEF as risky for a DAM as other undocumented proprietary raw formats?","answer":"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."},{"question":"Can Pentax cameras avoid the PEF-to-DNG conversion step entirely?","answer":"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."},{"question":"What compression and bit depth does PEF use?","answer":"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."},{"question":"When was PEF introduced?","answer":"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."},{"question":"Should a DAM still convert PEF to DNG despite its stable third-party support?","answer":"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 \u2014 or favoring the camera's native DNG shooting mode where available \u2014 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."},{"question":"What native Pentax\/Ricoh software opens PEF?","answer":"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."},{"question":"What command-line tooling has historically supported PEF?","answer":"dcraw, the long-standing open-source command-line raw decoder, has supported PEF for most of the format's history, and libraw \u2014 the library derived from dcraw's decoding work \u2014 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."},{"question":"Who is the current owner of the Pentax brand and PEF format?","answer":"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."}],"checked_date":"2026-08-11","sources":[{"statement":"Pentax announced the *ist D digital SLR on 26 February 2003, the first Pentax digital camera to use the PEF format","source_name":"Camera-wiki.org \/ DPReview *ist D coverage","url":"https:\/\/en.wikipedia.org\/wiki\/Pentax_*ist_D","checked":"2026-08-07"},{"statement":"PEF stands for Pentax Electronic File and uses lossless data compression on raw sensor data","source_name":"Just Solve the File Format Problem (Archive Team wiki), Pentax PEF","url":"http:\/\/fileformats.archiveteam.org\/wiki\/Pentax_PEF","checked":"2026-08-07"},{"statement":"PEF files are supported by Adobe Camera Raw\/Lightroom, Pentax's own Digital Camera Utility, and open-source raw converters","source_name":"FileFormat.com, PEF File Format","url":"https:\/\/docs.fileformat.com\/image\/pef\/","checked":"2026-08-07"}],"kicker":"","fact_checker":0,"reading_time":0,"revisions":[],"seo_title":"PEF file: Pentax raw format, how to open and convert to DNG","seo_description":"","noindex":false,"ext":"pef","full_name":"Pentax Electronic File","vendor_name":"Pentax (now Ricoh Imaging)","introduced":"February 2003, with the Pentax *ist D","container_notes":"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.","open_with":[{"platform":"Windows \/ macOS","how":"Adobe Camera Raw or Lightroom Classic, with standard PEF camera support"},{"platform":"Pentax native","how":"Pentax Digital Camera Utility (formerly Silkypix-based), Ricoh Imaging's own raw converter"},{"platform":"Cross-platform, open source","how":"RawTherapee or darktable, both decoding PEF via libraw"},{"platform":"Command line \/ scripted workflows","how":"dcraw and libraw-based utilities, which have supported PEF for most of the format's history"}],"archive_advice":"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 \u2014 and it is worth noting many Pentax bodies can shoot DNG directly in-camera, sidestepping the conversion step entirely.","related":[2596,2595,2603,2594,2602,2591],"tool_link":""},"silo":[23],"class_list":["post-2608","format","type-format","status-publish","hentry","silo-formats"],"_links":{"self":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/format\/2608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/format"}],"about":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/types\/format"}],"version-history":[{"count":3,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/format\/2608\/revisions"}],"predecessor-version":[{"id":3666,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/format\/2608\/revisions\/3666"}],"wp:attachment":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/media?parent=2608"}],"wp:term":[{"taxonomy":"silo","embeddable":true,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/silo?post=2608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}