Skip to content

SR2 to Haddock Converter

FileFlip converts SR2 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 SR2 to

How do I convert an SR2 file to Haddock?#

  1. Drop your SR2 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 SR2 to Haddock lose quality?#

No. The SR2 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 SR2 files online?#

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

Converting SR2 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: SR2 → 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 SR2 file?#

An SR2 file holds raw sensor data from Sony's 2005 Cyber-shot DSC-R1, using less encryption than Sony had applied to its earlier SRF format, before Sony replaced it with ARW the following year.

SR2 only turns up from a small set of Sony cameras from 2005, most notably the Cyber-shot DSC-R1; there's no active reason to choose it.

Convert SR2 files to DNG or JPEG, since current raw processors and Sony's own software support ARW and DNG far better than this short-lived intermediate 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.

SR2 to Haddock questions people ask#

What's the difference between SR2 and SRF?

SR2 is the raw format Sony introduced after SRF, on cameras like the Cyber-shot DSC-R1, and it carries far less of the file-level encryption that made SRF hard for third-party software to decode correctly.

What's the difference between SR2 and ARW?

SR2 was the raw format Sony used briefly around 2005, on cameras like the Cyber-shot DSC-R1, before replacing it with ARW starting with the Alpha DSLR-A100 in 2006. Every Alpha DSLR, SLT and mirrorless camera Sony has released since has written ARW instead.

What Sony cameras produced SR2 files?

SR2 appeared on the Sony Cyber-shot DSC-R1, a bridge camera released in 2005. Sony replaced it with ARW the following year when it launched the Alpha DSLR-A100, its first Alpha-branded DSLR, and every Sony camera since has written ARW instead.

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.