The basics
What is an SR2 or SRF file?
Before Sony made interchangeable-lens cameras, it offered raw capture on a few Cyber-shot models. The DSC-F828 and DSC-V3 wrote SRF (Sony Raw Format) files. The DSC-R1, a 10-megapixel camera with a fixed zoom lens and an unusually large APS-C sensor, announced in 2005, wrote SR2. When Sony launched its Alpha range with the DSLR-A100 in 2006, it introduced ARW, and no new camera has written SR2 or SRF since.
Like any raw file, an SR2 holds what the sensor recorded: one brightness value per photosite, each behind a red, green or blue filter, before demosaicing, white balance and the tone curve turn them into a picture. Opened in a raw editor, it looks flatter than the camera's JPEG at first, and gives far more room to fix exposure and colour.
Anatomy
What's inside SR2 and SRF files
Sony never published either format. This outline follows the tag tables and notes in Phil Harvey's ExifTool, which credits the decryption method to Dave Coffin, author of the dcraw raw decoder. All tag names are ExifTool's; both formats are reverse-engineered. Both are TIFF files on the outside, with the camera's private data hidden in places ordinary TIFF readers skip.
SR2 (Cyber-shot DSC-R1), from ExifTool's Sony tables
TIFF header ("II" or "MM", 42) nothing here says "Sony" or "SR2"
IFD0 Make, Model, previews …
C634 DNGPrivateData ──► SR2Private IFD
7200 SR2SubIFDOffset
7201 SR2SubIFDLength
7221 SR2SubIFDKey 32-bit key
7250 MRWInfo Minolta-style block
└─► SR2SubIFD (encrypted)
7300 BlackLevel
7303 WB_GRBGLevels as shot
7480…7486 WB presets
74C0 SR2DataIFD
Exif IFD 927C MakerNote "SONY DSC "
B000 FileFormat 01 00 00 00 = SR2
B001 SonyModelID 2 = DSC-R1
raw image sensor data; ExifTool documents no encryption here
SRF (Cyber-shot DSC-F828, DSC-V3)
TIFF header and IFD0, as above
Maker notes: a chain of 7 IFDs
SRF0 not encrypted; data used to find the first key
SRF1 encrypted 0 SRF2Key, 1 DataKey
SRF2-5 encrypted 2 SRF6Offset, 4 RawDataOffset, 5 RawDataLength,
lens and white-balance tags
SRF6 standard Exif tags
rest of the file encrypted with DataKey- 1
TIFF headerOrdinary on the outside
Both formats start like any TIFF, and the freedesktop MIME database treats them as TIFF subtypes. That's why a TIFF viewer may show a preview. Telling SR2 from ARW or a plain TIFF takes a look inside the maker notes.
- 2
B000 FileFormat 01 00 00 00The format version
In Sony's maker notes, which start with
SONY DSC, the FileFormat tag says1 0 0 0for SR2. ARW files carry 2 (ARW 1.0) and higher in the same tag, and SonyModelID2stands for the DSC-R1. - 3
C634 DNGPrivateDataA private IFD
SR2 borrows a tag from Adobe's DNG specification, meant for vendor data, to point to Sony's private directory. ARW files still use the same arrangement.
- 4
7200, 7201, 7221Where the secret data is, and its key
The private IFD gives the offset and length of another directory and a 32-bit key. The key seeds a stream of pseudo-random words that are XORed with the data; ExifTool and LibRaw reproduce it to decrypt.
- 5
SR2SubIFDThe encrypted part
Black levels, the as-shot white balance and white balance presets for daylight, cloudy, tungsten, flash and fluorescent light. A converter needs these to get colours right, so encrypting them mostly made life hard for software outside Sony's own.
- 6
7250 MRWInfoA trace of Minolta
The SR2 private directory can hold a block in the format of Minolta's MRW raw files. ExifTool notes that only original ARW files from the DSLR-A100 actually use it.
- 7
SRF0 … SRF6SRF: almost everything encrypted
In SRF files the maker notes are a chain of seven IFDs. Only the first is in the clear. The second holds two keys: one for the next IFDs, and a DataKey that, ExifTool says, decrypts the rest of the file from the end of the maker notes onwards.
Under the hood
Why parts of SR2 and SRF files are encrypted
Most camera raw formats are undocumented. Sony's early formats went a step further and encrypted parts of the file, so that only software that knew the scheme could read them:
| SRF | SR2 | ARW | |
|---|---|---|---|
| Cameras | DSC-F828, DSC-V3 | DSC-R1 | Alpha, ZV, later Cyber-shots |
| Encrypted | Maker notes after the first IFD, and the rest of the file from the end of the maker notes | One private sub-directory: black level and white balance | The same SR2 sub-directory (now with colour and lens data), plus enciphered maker-note blocks |
| Sensor data | Encrypted, with the rest of the file | Not encrypted | Not encrypted |
The encryption didn't keep other software out. Dave Coffin worked out the algorithm and put it in dcraw, the open-source decoder that much raw software was built on, and ExifTool, LibRaw and Adobe all read the files. In its notes on camera raw formats, the Library of Congress mentions a case where encrypted data elements forced people to use the manufacturer's own software, and treats undocumented raw formats as a preservation risk: a file that depends on reverse-engineered decryption stays readable only as long as someone maintains that code.
How to
How to open and convert SR2 and SRF files today
These cameras are two decades old, but their files still open in mainstream software:
- Mac, iPhone and iPad: Apple's list of supported raw cameras still includes the DSC-R1 and DSC-F828, so Photos and Preview open their files.
- Windows: install Microsoft's free Raw Image Extension (built on LibRaw) for thumbnails and viewing in Photos.
- Adobe Lightroom and Photoshop: Camera Raw reads both. When the DSC-R1 dropped off Adobe's printed camera list in 2021, users confirmed that Lightroom Classic still opened its files.
- Free: darktable and RawTherapee, which rely on open-source decoders that have long supported these cameras.
- Not Sony's current software: Imaging Edge lists ARW, ARQ and AXR as its raw formats, not SR2 or SRF.
# show the deciphered white balance and other private tags
exiftool -a -G1 -SR2SubIFD:all DSC00001.SR2
# save the embedded preview
exiftool -b -PreviewImage DSC00001.SR2 > DSC00001.jpgPreservation
Keeping old SR2 and SRF files readable
Old raw formats only stay readable while someone maintains a decoder. If you have an archive of R1 or F828 photos, three steps protect it:
- 1Keep the originals. Nothing replaces the camera's own file.
- 2Make DNG copies with Adobe's free DNG Converter. DNG has a public specification and an ISO standard, and the converter can embed the original raw file inside the DNG, so nothing is lost.
- 3Export finished photos as 16-bit TIFF or high-quality JPG for anything you'll want to look at without a raw editor.
Comparison
SR2 vs ARW and DNG
| SR2 / SRF | ARW | DNG | |
|---|---|---|---|
| In use | Mid-2000s only | 2006 to now | 2004 to now |
| Cameras | Three Cyber-shots | All Sony cameras that shoot raw | Many makers, phones, converters |
| Specification | Never published | Never published | Public, ISO 12234-4 |
| Encrypted parts | Yes | Yes, some metadata | No |
| Sony software | Not in Imaging Edge | Imaging Edge | No |
Privacy
Metadata in SR2 and SRF files
SR2 and SRF files carry the date and time, all camera settings and a camera model identifier. Check with exiftool -a -G1 file.sr2 before publishing a collection, including for location or captions that other software may have added later, and don't strip all metadata from the raw files themselves: converters need the private Sony data to render the colours.
Sample files
There are no sample SR2 or SRF files on this page. Only three discontinued Sony cameras ever wrote them, so the practical sources are your own archive or a used DSC-R1, DSC-F828 or DSC-V3.
Put it online
Have an SR2 file? Give it a link.
Drop an SR2 or SRF file on 99helpers and it gets its own web address. Browsers can't display raw files, so anyone who opens the link downloads it to open in raw software; add a JPG if people just need to see the photo.
Questions
SR2 files, frequently asked
What is an SR2 file?
A raw photo from the Sony Cyber-shot DSC-R1. It's a TIFF-based raw format from 2005, before Sony's Alpha cameras switched to ARW.
What is an SRF file from a Sony camera?
The raw format of the Sony Cyber-shot DSC-F828 and DSC-V3, from before SR2. Most of its maker notes and the rest of the file after them are encrypted, but common raw software decrypts them.
How do I open an SR2 file?
On a Mac, in Photos or Preview. On Windows, install the Raw Image Extension and use Photos. Lightroom, Photoshop, darktable and RawTherapee also open SR2 files.
How do I convert SR2 to JPG?
Open the file in Photos, Preview, Lightroom or darktable and export as JPEG. To convert many files, use Lightroom's export or darktable-cli file.sr2 file.jpg.
Can Sony's Imaging Edge open SR2 files?
Sony lists only ARW, ARQ and AXR raw files for Imaging Edge Desktop. Use Adobe, Apple or open-source software for SR2 and SRF.
Are SR2 files encrypted?
Partly. A private block with the black level and white balance is encrypted; the sensor data isn't. In older SRF files, almost everything after the first maker-note directory is encrypted. Common raw software decrypts both.
Should I convert SR2 files to DNG?
For an archive, yes, as a copy. DNG is documented and widely supported, and Adobe DNG Converter can embed the original SR2 inside the DNG. Keep the originals too.
Related formats
Other file types explained
Keep going
Related
Sources
- ExifTool: Sony tags (SR2Private, SR2SubIFD, SRF)
- Library of Congress: Camera Raw formats (CAM_RAW)
- PRONOM: Sony ARW RAW Image File 1.x (fmt/191), with the SR2 FileFormat value
- Apple: RAW formats supported by iOS 18, iPadOS 18, macOS Sequoia and visionOS 2
- Sony: Images supported by Imaging Edge Desktop
- Adobe Community: Sony DSC-R1 missing from the list of supported cameras (2021)
Last reviewed 27 October 2026.