Sigma Foveon Raw (.x3f)
Foveon StandardSigma Foveon Raw (X3F) is Sigma's proprietary RAW format captured by cameras featuring Foveon X3 direct image sensors, which record full red, green, and blue color data at every single pixel location through vertically stacked silicon layers.
Convert X3F to JPG
Free in-browser X3F to JPG converter. Convert files instantly on your device.
Inspect & Metadata
Operating systems and file analyzers identify X3F files by inspecting the leading binary byte sequence:
Byte-Level Header Signature (Magic Bytes)
Operating systems and file analyzers identify X3F files by inspecting the leading binary byte sequence:
HEX SIGNATURE (OFFSET 0):
46 4F 56 62ASCII REPRESENTATION: FOVb
Standardization: Foveon proprietary specification
Technical Specifications
| Container Architecture | Proprietary Foveon container starting with 'FOVb' header and directory sections |
| Compression | Lossless Huffman-encoded 3-layer sensor data (12-bit / 14-bit per layer) |
| Byte Endianness | Little-Endian (Intel order) |
| Color Spaces | Foveon Sensor Color Space, sRGB, Adobe RGB |
| Channels & Structure | 3 full-color sensor layers (Blue, Green, Red stacked vertically) |
| Max Dimensions | Up to 5888 x 3920 (Quattro 29 MP sensor yielding 39 MP equivalent) |
| Transparency | None |
| Streaming & Progressive | Non-streamable chunk-based binary container |
Technical Comparison Matrix: X3F vs Competitors
| Technical Attribute | X3F (Current) | ARW | CR3 | NEF |
|---|---|---|---|---|
| Sensor Architecture | 3-layer vertical silicon absorption (Foveon X3) | Single-layer 2x2 Bayer mosaic | Single-layer 2x2 Bayer mosaic | Single-layer 2x2 Bayer mosaic |
| Color Demosaicing | None (full RGB measured at every pixel) | Interpolated from 50% Green, 25% R, 25% B | Interpolated from Bayer array | Interpolated from Bayer array |
| Magic Bytes | FOVb (0x46 0x4F 0x56 0x62) | II*\0 | ftypcrx | MM\0* or II*\0 |
| Micro-Contrast | Highest per-pixel optical micro-contrast | High (subject to anti-aliasing) | High | High |
Common Corruption Modes & Hex Recovery Guide
Image shows intense magenta or green color casts across all midtones.
Root Cause: Corrupted layer matrix calibration coefficients in the Foveon header.
Recovery: Process file using Sigma Photo Pro or convert through File2File Raw Converter.
Security Analysis & Parser Attack Vectors
X3F uses a unique proprietary container with custom chunk tables that require rigorous validation to prevent memory safety issues.
Known Attack Vectors
- Integer overflow during 3-layer vertical sensor buffer allocation.
- Buffer over-read in Foveon camera calibration CAMF property tables.
- Denial of service through malformed X3F directory section offsets.
Defensive Best Practices: Decode X3F files inside an isolated, memory-safe WebAssembly sandbox.
Historical Origins & Milestones
Key Advantages & Pros
- 100% true full color capture at every pixel location with zero Bayer color interpolation (demosaicing).
- Immunity to color moire without requiring an optical low-pass filter.
- Unmatched pixel-level micro-contrast, organic texture, and medium-format-like sharpness at base ISO.
Technical Limitations & Cons
- Extremely demanding software requirements; Sigma Photo Pro is traditionally required for optimal rendering.
- Poor high-ISO noise performance due to silicon depth absorption characteristics.
- Slow processing times and large file sizes (approx 50 MB to 70 MB per frame).
Interesting Technical Trivia
- Foveon X3 sensors utilize the physical property of silicon where different light wavelengths penetrate to different depths: blue light is absorbed near the surface, green light in the middle, and red light deepest.
- The magic bytes for X3F files are 'FOVb' (Foveon binary).
- Landscape photographers revere X3F files for their foliage rendition, which avoids the green channel smearing common in Bayer sensors.
Frequently Asked Technical Questions
Why do Sigma Foveon X3F files look sharper than other cameras?
Because Foveon sensors record full red, green, and blue color values at every single pixel through 3 vertically stacked silicon layers, eliminating the softening effects of Bayer demosaicing.
What software opens X3F files?
X3F files can be opened in Sigma Photo Pro, Adobe Camera Raw, or converted instantly to high-resolution PNG/JPG using File2File.app.
Why are X3F file sizes so large?
Each X3F file contains three full image planes (one for each color layer), meaning a 20-megapixel Foveon sensor records 60 megapixels of raw photodiode data.