[][src]Module exr::image::rgba

Read and write a truly minimal RGBA image. This module loads only images with RGBA channels if they all have the same data type (either f16, f32, or u32). Returns Error::Invalid if not at least one image part with RGB channels can be found in the file.

This module should rather be seen as an example and only be used if you are confident that your images are really RGBA. Use exr::image::simple if you need custom channels or specialized error handling.

Structs

Image

A simple RGBA with one 32-bit float per pixel for each channel. Stores all samples in a flattened vector.

Enums

Pixels

A one dimensional array of samples.