Skip to content

RAF to FB2 Converter

FileFlip converts RAF to FB2 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.

Convert RAF to

How do I convert an RAF file to FB2?#

  1. Drop your RAF 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 FB2 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.
  3. Save the FB2 file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting RAF to FB2 lose quality?#

No. The RAF picture is placed into the FB2 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 RAF files online?#

Yes, because nothing is uploaded. FileFlip converts RAF 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 RAF to FB2 actually does to the file#

Converting RAF to FB2 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.

EngineImageMagick, MuPDF and Pandoc
Conversion path3 steps: RAF → PNG → HTML → FB2
Downloaded to your browser79.9 MB, once, then cached by your browser
QualityPixels preserved
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 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 an RAF file?#

An RAF file holds the unprocessed sensor readout from a Fujifilm camera in a TIFF-based container alongside an embedded JPEG preview and a Fujifilm-specific metadata block, and the same extension covers both the X-Trans bodies and Fujifilm's Bayer-sensor models such as the X-A series, the X-T100 and the GFX medium format line.

RAF is what a Fujifilm camera writes when you set it to raw, so the only decision in the menu is uncompressed against compressed, not the format itself.

Convert RAF to JPEG when the picture has to be shared or printed, or to DNG when you want one raw format across cameras from several manufacturers.

What is an FB2 file?#

An FB2 file is a single XML document that holds an entire book's text, metadata and base64-encoded cover images, in the FictionBook format that originated in the Russian-language ebook scene.

Keep a book as FB2 when it is sourced from a Russian-language ebook library and the reader is FB2-native, such as FBReader or a PocketBook device.

Convert FB2 to EPUB to read the book on a device or app outside the small set of readers that understand FictionBook directly.

RAF to FB2 questions people ask#

What software opens RAF files?

Fujifilm's own X RAW Studio opens RAF files, and so do Adobe Lightroom and Camera Raw, Adobe Photoshop, Capture One, and the open source darktable and RawTherapee. X RAW Studio is the odd one out because it does the conversion on the image processor inside a Fujifilm camera connected over USB rather than on the computer, which is why its output matches the camera's own JPEG engine exactly.

Why do RAF files look softer in Lightroom than in Fujifilm's own software?

RAF files from an X-Trans sensor carry a 6x6 color filter pattern instead of the 2x2 Bayer grid almost every other camera uses, and a raw converter has to demosaic that pattern with code written for it. Adobe's early X-Trans rendering was widely criticized for smearing fine detail such as foliage. Every current raw processor now ships X-Trans specific demosaicing, RawTherapee's Markesteijn one-pass and three-pass methods being the open source example, so the gap has narrowed a lot since 2012. What is left is mostly a matter of taste, and photographers who still want a different rendering run their RAF files through Iridient X-Transformer before Lightroom sees them.

Does converting RAF to DNG lose anything?

Converting an RAF file with Adobe DNG Converter keeps the sensor data as it was captured, X-Trans mosaic and all, so nothing about image quality changes and the demosaicing still happens later in whatever software opens the DNG. Some Fujifilm-specific fields such as film simulation settings may not survive into a form other software understands. A tool like Iridient X-Transformer works differently: it demosaics the RAF itself and writes an already-processed linear DNG, which fixes the interpretation of the X-Trans pattern in place and takes that choice away from the editor you open it in.

Why does Fujifilm use RAF instead of DNG?

Fujifilm keeps RAF as its own format, as Canon, Nikon, Sony and Panasonic keep theirs, so it can describe new sensors and store its own processing settings without waiting for Adobe to update the shared DNG specification. X-Trans makes that argument sharper, since the 6x6 filter layout needs its own demosaicing treatment. No Fujifilm camera writes DNG in-camera, so converting is always something you do after the fact.