Expand description
Provides a predefined pixel storage.
Currently only contains a simple flattened vector storage.
Use the functions create_pixel_vec::<YourPixelTuple>
and
set_pixel_in_vec::<YourPixelTuple>
for reading a predefined pixel vector.
Use the function PixelVec::new
to create a pixel vector which can be written to a file.
Structs§
- Store all samples in a single array. All samples will be converted to the type
T
. This supports all the sample types,f16
,f32
, andu32
.