Struct image::hdr::HDREncoder [−][src]
pub struct HDREncoder<W: Write> { /* fields omitted */ }
Radiance HDR encoder
Methods
impl<W: Write> HDREncoder<W>[src]
impl<W: Write> HDREncoder<W>pub fn new(w: W) -> HDREncoder<W>[src]
pub fn new(w: W) -> HDREncoder<W>Creates encoder
pub fn encode(
self,
data: &[Rgb<f32>],
width: usize,
height: usize
) -> Result<()>[src]
pub fn encode(
self,
data: &[Rgb<f32>],
width: usize,
height: usize
) -> Result<()>Encodes the image data
that has dimensions width and height
Auto Trait Implementations
impl<W> Send for HDREncoder<W> where
W: Send,
impl<W> Send for HDREncoder<W> where
W: Send, impl<W> Sync for HDREncoder<W> where
W: Sync,
impl<W> Sync for HDREncoder<W> where
W: Sync,