Expand description
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 [
Attribute
]s, 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_u8
at the end of a sequence.
Structs§
- Meta
Data - Contains the complete meta data of an exr image. Defines how the image is split up in the file, the number and type of images and channels, and various other attributes. The usage of custom attributes is encouraged.
- Requirements
- A summary of requirements that must be met to read this exr file.
Used to determine whether this file can be read by a given reader.
It includes the OpenEXR version number. This library aims to support version
2.0
. - Tile
Indices - Locates a rectangular section of pixels in an image.
Enums§
- Block
Description - 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
. - missing_
attribute 🔒 - 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
Header
s. - Offset
Table - The offset table is an ordered list of indices referencing pixel data in the exr file.
For each pixel tile in the image, an index exists, which points to the byte-location
of the corresponding pixel data in the file. That index can be used to load specific
portions of an image without processing all bytes in a file. For each header,
an offset table exists with its indices ordered by
LineOrder::Increasing
. - Offset
Tables - List of
OffsetTable
s.