Image file formats

Standard images

Simulation results may be stored to .png files (8 or 16 bit per channel) or .jpg files (8 bit per channel). Theses files are written with an embedded color space information (ICC profile and chromaticities) when produced by a RGB image output

Many file types are supported as input(textures, etc…) : BMP, GIF, JPEG, MNG, PBM, PNG, TGA, and 8-bit TIFF. Values are gamma-decoded to linear RGB assuming a sRGB profile. PNG and JPEG images stored in a gray-scale format are loaded efficiently in memory and not converted to RGB, which can improve greatly the memory requirements for your scene. For instance, images used in Bump map shader and Texture scalar shader can be stored in gray-scale format, without any impact on the final result, and will require less RAM.

High dynamic range images

The OpenEXR .exr format allows storing results to floating-point images with no loss of precision or dynamic range. All channels are exported : writing images in the XYZ color space or even spectral images is possible. However, most software able to read EXR images only read R, G and B channels.

More details on the spectral image format can be found here : Spectral EXR format

Ocean also supports Radiance HDR .hdr image files in the RGB or XYZ color spaces.

OpenDocument Spreadsheet

Numerical values can be saved to spreadsheets using the .ods format. These can be opened in various software, such as OpenOffice Calc, LibreOffice Calc, or Microsoft Excel 2007 and later.

Comma Separated Values

Numerical values can be saved to comma separated value .csv text files. If multiple channels are present, one file by channel is written, with the channel name inserted between the file name and the extension.