Module block
This is the low-level interface for the raw blocks of an image.
See exr::image module for a high-level interface.
Handle compressed and uncompressed pixel byte blocks. Includes compression and decompression, and reading a complete image into blocks.
Start with the block::read(...)
and block::write(...) functions.
Modules
- chunk Read and write already compressed pixel data blocks. Does not include the process of compression and decompression.
- lines Extract lines from a block of pixel bytes.
- reader Composable structures to handle reading an image.
- samples Extract pixel samples from a block of pixel bytes.
- writer Composable structures to handle writing an image.
Structs
- BlockIndex Specifies where a block of pixel data should be placed in the actual image. This is a globally unique identifier which includes the layer, level index, and pixel location.
- UncompressedBlock Contains a block of pixel data and where that data should be placed in the actual image.
Functions
- enumerate_ordered_header_block_indices This iterator tells you the block indices of all blocks that must be in the image.
- read Immediately reads the meta data from the file.
- write Immediately writes the meta data to the file.