PEF to Djot Converter
FileFlip converts PEF to Djot entirely inside your browser, using ImageMagick, MuPDF and Pandoc compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.
How do I convert a PEF file to Djot?#
- Drop your PEF file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
- Leave the target set to Djot and the conversion starts on its own. FileFlip downloads 79.9 MB of WebAssembly the first time and nothing after that, then runs ImageMagick, MuPDF and Pandoc on your own machine.
- Save the Djot file. Your browser writes it straight to your downloads folder, because there was never a server holding it.
Does converting PEF to Djot lose quality?#
No. The PEF picture is placed into the Djot document at its full resolution, so every pixel reaches it intact. What you give up is that it becomes a picture inside a document rather than text.
Is it safe to convert PEF files online?#
Yes, because nothing is uploaded. FileFlip converts PEF files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.
You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.
How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.
What PEF to Djot actually does to the file#
Converting PEF to Djot runs on ImageMagick, MuPDF and Pandoc, downloads 79.9 MB of WebAssembly the first time and nothing after that, places the picture into the document at full resolution.
| Engine | ImageMagick, MuPDF and Pandoc |
|---|---|
| Conversion path | 3 steps: PEF → PNG → HTML → Djot |
| Downloaded to your browser | 79.9 MB, once, then cached by your browser |
| Quality | Pixels preserved |
| You get back | One file |
| Where it runs | In a background worker, so the page stays responsive |
Worth knowing before you start:
- camera raw is demosaiced with ImageMagick's defaults, which will not match the camera's own rendering
- the picture is placed in the document as a picture; no text is recognised out of it
- the file passes through HTML on the way, so anything HTML cannot express does not survive
- some cameras write lossily compressed raw, so the source is not always a complete sensor record
What is a PEF file?#
A PEF file holds unprocessed sensor data captured by a Pentax digital SLR, stored in a TIFF-based container that Pentax has used as its native raw format since the *ist D in 2003.
Shoot PEF, Pentax's default raw setting, to keep full sensor data with Pentax's own lossless compression, and switch the camera to DNG only if a specific workflow needs Adobe's open raw container instead.
Convert PEF once editing is done and the image needs to open somewhere that doesn't read camera raw, such as a web upload, a shared album, or a printer.
What is a Djot file?#
A DJ file holds a Djot document, a lightweight markup that reads like Markdown but is built on an unambiguous grammar, so it parses the same way in every implementation.
Write in Djot when Markdown's readability is wanted without its parsing ambiguities, and broad tool support isn't a requirement yet.
Convert Djot to another format when sharing with tools or people that only handle Markdown, HTML, or another mainstream format.
PEF to Djot questions people ask#
What camera creates PEF files?
PEF files come from Pentax K-mount digital SLRs and the Pentax Q series shooting in raw mode, starting with the *ist D in 2003. It's Pentax's own raw format, distinct from the DNG option the same cameras can also write.
Should I shoot PEF or DNG on a Pentax camera?
Pentax cameras let you choose PEF or DNG as the raw format in the camera menu. PEF is Pentax's native format with the camera's own lossless compression, while DNG is Adobe's open raw container, useful mainly if a workflow specifically expects DNG.
What software opens PEF files?
Adobe Camera Raw, Lightroom Classic and Photoshop all open PEF files, as do Pentax's own Digital Camera Utility and open-source raw processors like RawTherapee and darktable. Most general image viewers cannot open a PEF without one of these.
Does converting PEF to JPG lose image quality?
Converting a PEF file to JPG applies the raw processing (demosaicing, white balance, tone curve) and then compresses the result, so some of the original sensor data is discarded in the process. The source PEF file is untouched by the conversion.