Skip to content

PEF to AVIF Converter

FileFlip converts PEF to AVIF entirely inside your browser, using ImageMagick 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.

Convert PEF to

How do I convert a PEF file to AVIF?#

  1. 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.
  2. Leave the target set to AVIF and the conversion starts on its own. FileFlip downloads 14.1 MB of WebAssembly the first time and nothing after that, then runs ImageMagick on your own machine.
  3. Save the AVIF file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting PEF to AVIF lose quality?#

Yes, once. PEF keeps everything and AVIF does not, so this is the first time the file meets a lossy encoder. At high quality the difference is hard to see, and it is worth keeping the PEF original, because every later re-save of the AVIF loses a little more.

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 AVIF actually does to the file#

Converting PEF to AVIF runs on ImageMagick, downloads 14.1 MB of WebAssembly the first time and nothing after that, encodes a lossless source with a lossy encoder for the first time.

EngineImageMagick
Conversion pathOne step: PEF → AVIF
Downloaded to your browser14.1 MB, once, then cached by your browser
QualityLossy, first generation
You get backOne file
Where it runsIn 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
  • 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 an AVIF file?#

An AVIF file holds a still image or short animation encoded with the AV1 video codec, packaged inside a HEIF-style container that also carries HDR and wide-colour-gamut data alongside the pixels.

Use AVIF for web images where file size matters most, since it now decodes natively in every major browser and beats JPEG and WebP on compression at the same quality.

Convert AVIF to JPEG or PNG when a file is headed somewhere that still rejects it, such as an older content management system, a print workflow, or an app without AV1 decoding.

PEF to AVIF 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.