Module exr::block::samples

source ·
Expand description

Extract pixel samples from a block of pixel bytes.

Enums

  • A single red, green, blue, or alpha value.

Traits

  • Create an arbitrary sample type from one of the defined sample types. Should be compiled to a no-op where the file contains the predicted sample type. The slice functions should be optimized into a memcpy where there is no conversion needed.
  • Convert any type into one of the supported sample types. Should be compiled to a no-op where the file contains the predicted sample type