Pentax PEF
Writableraw-photo · also known as Pentax RAW
Pentax PEF Image File (or Pentax RAW) is a RAW image format based on TIFF [fmt/353] file format, provided by Pentax and associated with Pentax Digital SLR cameras. Its use has been deprecated since the release of DNG format. Similarly to RAW camera formats, PEF format contains information of image capture such as colour, lighting or camera sensor. The structure of these informations related to each image differs in each PEF format depending on which camera model was used to capture the image. The format first appeared with Pentax's digital *its Series and continued until Pentax Q series.
Identify it
| Extensions | .pef.ptx |
|---|---|
| MIME types | image/x-pentax-pefimage/x-ptximage/dngimage/x-raw-pentax |
| Signatures | 4d4d002a at byte 0 (Pentax PEF Image File)4d002a00 at byte 04d002a00 at byte 1 |
| PRONOM | fmt/1781 |
| Wikidata | Q3964876 |
Not sure your file is this? Identify it from its first bytes, in your browser.
Open it
- libexiv2Open source
- AbydosOpen source
- ConverseenOpen source
- ExifToolOpen source
- F-SpotOpen source
- ImageMagickOpen source
- ImageMagick (WebAssembly)Open source
- LibRawOpen source
- PhotoRecOpen source
Convert it
Convert a file in your browser The steps marked “in browser” run on your machine; nothing is uploaded.
| To | With | Fidelity | Command and losses |
|---|---|---|---|
| AVIF | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| BMP 5.0 | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| GIF 89a | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| ICO | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| JFIF 1.02 | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| JPEG XL | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. | |
| PNG | ImageMagick | Partial | convert in.pef out.pngDemosaiced with default settings: raw sensor data and editing latitude are lost. |
| PNG | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| Quite OK Image Format | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| TIFF | ImageMagick | Partial | convert in.pef out.tifDemosaiced with default settings: raw sensor data and editing latitude are lost. |
| TIFF | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| WebP | ImageMagick (WebAssembly) | Partial | in browser Demosaiced with default settings: raw sensor data and editing latitude are lost. |
| GIF 89a | ImageMagick | Lossy | convert in.pef out.gifReduced to 256 colours. |
| JFIF 1.02 | ImageMagick | Lossy | convert in.pef out.jpgLossy compression. |
| WebP | ImageMagick | Lossy | convert in.pef out.webpLossy compression. |
Sources
From Converters (FFmpeg, ImageMagick, Pandoc, LibreOffice), WebAssembly engines (ImageMagick, FFmpeg, Pandoc, 7-Zip, GDAL, Assimp, resvg), Just Solve the File Format Problem (File Formats Wiki), PRONOM, Wikidata. Updated 2026-10-26.