Module meta
Describes all meta data possible in an exr file.
Contains functionality to read and write meta data from bytes.
Browse the exr::image module to get started with the high-level interface.
Modules
-
attribute
Contains all meta data attributes.
Each layer can have any number of
Attributes, including custom attributes. - header Contains collections of common attributes. Defines some data types that list all standard attributes.
- magic_number The first four bytes of each exr file. Used to abort reading non-exr files.
-
sequence_end
A
0_u8at the end of a sequence.
Structs
- MetaData Contains the complete meta data of an exr image.
- Requirements A summary of requirements that must be met to read this exr file.
- TileIndices Locates a rectangular section of pixels in an image.
Enums
- BlockDescription How the image pixels are split up into separate blocks.
Functions
- calculate_block_position_and_size Compute the start position and size of a block inside a dimension.
- calculate_block_size Calculate the size of a single block. If this is the last block, this only returns the required size, which is always smaller than the default block size.
- compute_block_count Compute the number of tiles required to contain all values.
- compute_chunk_count Compute the number of chunks that an image is divided into. May be an expensive operation.
- compute_level_count Calculate number of mip levels in a given resolution.
- compute_level_size Calculate the size of a single mip level by index.
-
mip_map_indices
Iterates over all mip map level indices of a given size.
The order of iteration conforms to
LineOrder::Increasing. -
mip_map_levels
Iterates over all mip map level resolutions of a given size, including the
indices of each level. The order of iteration conforms to
LineOrder::Increasing. -
rip_map_indices
Iterates over all rip map level indices of a given size.
The order of iteration conforms to
LineOrder::Increasing. -
rip_map_levels
Iterates over all rip map level resolutions of a given size, including the
indices of each level. The order of iteration conforms to
LineOrder::Increasing.
Type Aliases
-
Headers
List of
Headers. - OffsetTable The offset table is an ordered list of indices referencing pixel data in the exr file.
-
OffsetTables
List of
OffsetTables.