image::codecs

Module openexr

source
Expand description

Decoding of OpenEXR (.exr) Images

OpenEXR is an image format that is widely used, especially in VFX, because it supports lossless and lossy compression for float data.

This decoder only supports RGB and RGBA images. If an image does not contain alpha information, it is defaulted to 1.0 (no transparency).

Current limitations (July 2021): - only pixel type Rgba32F and Rgba16F are supported - only non-deep rgb/rgba files supported, no conversion from/to YCbCr or similar - only the first non-deep rgb layer is used - only the largest mip map level is used - pixels outside display window are lost - meta data is lost - dwaa/dwab compressed images not supported yet by the exr library - (chroma) subsampling not supported yet by the exr library

Structs§

  • An OpenEXR decoder. Immediately reads the meta data from the file.
  • A thin wrapper that implements ImageEncoder for OpenEXR images. Will behave like image::codecs::openexr::write_buffer.