DRF file format
From DeleDWiki
DRF stands for Delgine Raw Floating-point image format. This file format is used by the raytracer to store the generated images in HDR (High Dynamic Range). Everything is stored in Little-Endian format (i.e. the PC default).
DRF files are huge, with 12 bytes per pixel a simple 1024x768 file becomes 9mb in size. They are only meant for temporary storing the images in the raytracing queue at the highest resolution possible, and should definitely not be used for distribution. File formats like EXR and HDR are much better suited for that purpose, at the cost of some precision and simplicity loss.
| Offset | Type | Size | Content/Description |
|---|---|---|---|
| 0 | 4 bytes | 4 | 'DRFI' |
| 4 | Integer | 4 | File Format Version/Revision (currently 1) |
| 8 | Integer | 4 | Width |
| 12 | Integer | 4 | Height |
| 16 | Data | Width * Height * 12 | Raw uncompressed RGB data, using a 32bit float for each color component. |
