Что такое формат файла PEF?
.pef files are generated by Pentax digital cameras (now marketed under the Ricoh Imaging brand).
What do .pef files store?
A typical .pef file contains a raw sensor image - either uncompressed or losslessly compressed depending on the camera model. It is built on a TIFF-based container and includes the full-bit-depth data captured by the camera's sensor, an embedded JPEG preview, and EXIF metadata with Pentax-specific MakerNote entries.
How Pentax cameras save photos
.pef files store raw sensor data without any additional adjustments applied by the camera software. Images are saved in an unprocessed format exactly as captured by the sensor, preserving 12-bit or 14-bit per-channel color depth for maximum post-processing flexibility. Ricoh Imaging cameras can also save photos in the open .DNG format, which offers broader software compatibility while keeping the same raw advantage.
Why can't I open a .pef file?
Some applications have problems opening certain .pef files because the standard is not unified. Various Pentax cameras save images using slightly different per-model variants of the format, and newer bodies may require updated decoder profiles. The best solution is to use tools compatible with your specific Pentax camera model - keeping raw developers such as darktable or RawTherapee up to date ensures the widest support.
Безопасность и защита
РИСК: LOWPEF is a passive image data file - it contains sensor data and metadata, not executable code, so opening one is safe. The practical cautions are non-malware: PEF is large and proprietary, so keep originals backed up and consider archiving to open DNG for longevity; and remember EXIF/maker-note metadata (camera, sometimes GPS, timestamps) travels with the file - strip it before publishing if privacy matters. Editing is non-destructive in raw developers, so the original PEF is kept.
Детали формата
в двух словахПрограммы, открывающие файлы PEF
Технические подробности
глубокая спецификация| Container | TIFF/EP (Tagged Image File Format / Electronic Photography) |
| Encoding | Binary |
| Byte order | Little-endian |
| Magic bytes | 49 49 2A 00 ("II*\0") at byte offset 0 - standard little-endian TIFF signature |
| Compression | Pentax lossless compression (model-dependent); some bodies write uncompressed raw |
| Color depth | 12-bit or 14-bit per channel raw sensor data; demosaiced to up to 16-bit per channel |
| Typical file size | 10 MB - 60 MB (rises with sensor resolution; ~40+ MB on K-1 36 MP) |
| Max image dimensions | Up to ~7360 × 4912 px (36 MP K-1); varies by sensor model |
| MIME type | image/x-pentax-pef |
| Embedded preview | Reduced and/or full-size JPEG preview stored in the TIFF IFD structure |
| Metadata | EXIF and Pentax-specific MakerNote (identified by "PENTAX" string in maker-note block) |
| Internal structure | TIFF IFDs indexing raw sensor strips, embedded JPEG preview, and EXIF/MakerNote blocks |
| Platform support | Windows, macOS, Linux (via open-source raw developers) |
| Encryption / integrity | No encryption and no built-in checksum; data integrity relies on the file system |
| Выпущен | early 2000s (Pentax *ist D era, c. 2003); still produced by current Pentax/Ricoh DSLRs alongside DNG |
| Последняя версия | No public versioned spec; per-model TIFF/EP variants (Pentax/Ricoh maker notes) |
| Спецификация | www.ricoh-imaging.co.jp |
Конвертации PEF
Вопросы и ответы сообщества
спрошено пользователямиВопросов пока нет - станьте первым, кто спросит о файлах PEF.