Function image::codecs::openexr::write_buffer
source ยท fn write_buffer(
buffered_write: impl Write + Seek,
unaligned_bytes: &[u8],
width: u32,
height: u32,
color_type: ColorType,
) -> ImageResult<()>
Expand description
Write a raw byte buffer of pixels, returning an Error if it has an invalid length.
Assumes the writer is buffered. In most cases,
you should wrap your writer in a BufWriter
for best performance.