Skip to content

PEF to GIF87 Converter

FileFlip converts PEF to GIF87 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 GIF87?#

  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 GIF87 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 GIF87 file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting PEF to GIF87 lose quality?#

No. Converting PEF to GIF87 writes the data out again without discarding any of it, so nothing that was in the PEF file is lost on the way. What changes is the size of the file, not what is inside it.

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

Converting PEF to GIF87 runs on ImageMagick, downloads 14.1 MB of WebAssembly the first time and nothing after that, writes the data out again without discarding any of it.

EngineImageMagick
Conversion pathOne step: PEF → GIF87
Downloaded to your browser14.1 MB, once, then cached by your browser
QualityLossless
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
  • the target holds at most 256 colours, so a full-colour image is quantised to a palette
  • 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 GIF87 file?#

A GIF87 file follows the original 1987 Graphics Interchange Format specification that CompuServe published two years before GIF89a added transparency and animation, so it stores a single, fully opaque image using the same LZW compression and 256-color palette as any other GIF.

There's essentially no reason to target GIF87 today; write a plain GIF, which is GIF89a, instead unless a specific tool or test needs the older header.

Convert to GIF89a or PNG when the image needs transparency or animation, since GIF87 supports neither.

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