Type Alias image::codecs::hdr::HDREncoder

source ·
pub type HDREncoder<R> = HdrEncoder<R>;
👎Deprecated: Use HdrEncoder instead
Expand description

HDR Encoder

An alias of HdrEncoder.

TODO: remove

Aliased Type§

struct HDREncoder<R> { /* private fields */ }

Implementations

source§

impl<W: Write> HdrEncoder<W>

source

pub fn new(w: W) -> HdrEncoder<W>

Creates encoder

source

pub fn encode( self, data: &[Rgb<f32>], width: usize, height: usize, ) -> ImageResult<()>

Encodes the image data that has dimensions width and height