Skip to content

SRF to Haddock Converter

FileFlip converts SRF to Haddock 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 SRF to

How do I convert an SRF file to Haddock?#

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

Does converting SRF to Haddock lose quality?#

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

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

Converting SRF to Haddock 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: SRF → PNG → HTML → Haddock
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 SRF file?#

An SRF file stores raw sensor data from an early Sony Cyber-shot camera such as the DSC-F828, with parts of the file encrypted so that, originally, only Sony's own software could fully decode the white balance and color data.

SRF only exists as the format an old Cyber-shot camera such as the DSC-F828 already wrote; there's no reason to choose it today.

Convert SRF files to DNG or JPEG, since current raw processors have far better support for those than for Sony's original encrypted raw format.

What is a Haddock file?#

A Haddock file holds documentation written in Haddock markup, the comment syntax Haskell's own documentation generator reads out of source files to build a module's API reference.

Write Haddock markup directly in Haskell source comments so `cabal haddock` can generate the package's API documentation.

Convert Haddock markup to Markdown when the same text needs to appear in a README or a project website outside the generated API docs.

SRF to Haddock questions people ask#

What Sony camera creates SRF files?

SRF files come from early Sony Cyber-shot cameras, most notably the DSC-F828, which was among the first Sony cameras to offer raw capture. Sony moved on to the SR2 and later ARW formats within a few years.

Why do colors look wrong when I open an SRF file?

SRF files from Sony's early Cyber-shot cameras have parts of the file encrypted, including white balance and color data, so software that hasn't worked around that encryption can decode the image but not its correct color rendering.

Can current raw software open SRF files?

Some can. Adobe Camera Raw and Lightroom Classic retain legacy support for SRF, and open-source tools like darktable and RawTherapee decode it through libraries that reverse-engineered Sony's encryption, but support is far thinner than for Sony's current ARW format.

What is a .haddock file?

A .haddock file holds text written in Haddock markup, the comment syntax Haskell's documentation generator reads. In practice this markup normally lives inside `-- |` and `-- ^` comments in a .hs source file rather than a standalone file, so a .haddock file usually appears when that text has been extracted or converted on its own.