Expand description
How to read arbitrary but specific selection of arbitrary channels. This is not a zero-cost abstraction.
Structs§
- Collect
Pixels - Specifies how to collect all the specified channels into a number of individual pixels.
- Optional
Sample Reader - Reader for a single channel. Generic over the concrete sample type (f16, f32, u32). Can also skip reading a channel if it could not be found in the image.
- Read
Optional Channel - Used to read another specific channel from an image.
Contains the previous
ReadChannelsobjects. - Read
Required Channel - Used to read another specific channel from an image.
Contains the previous
ReadChannelsobjects. - Sample
Reader - Reader for a single channel. Generic over the concrete sample type (f16, f32, u32).
- Specific
Channels Reader - The reader that holds the temporary data that is required to read some specified channels.
Traits§
- Read
Specific Channel - Can be attached one more channel reader.
Call
requiredoroptionalon this object to declare another channel to be read from the file. Callcollect_pixelsat last to define how the previously declared pixels should be stored. - Recursive
Pixel Reader - A reader containing sub-readers for reading the pixel content of an image.
Type Aliases§
- Read
Zero Channels - Read zero channels from an image. Call
with_named_channelon this object to read as many channels as desired.