Struct HdrEncoder

pub struct HdrEncoder<W: Write> { /* private fields */ }

Radiance HDR encoder

Implementations

impl<W: Write> HdrEncoder<W>

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

Creates encoder

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

Encodes the image rgb that has dimensions width and height

Trait Implementations

impl<W: Write> ImageEncoder for HdrEncoder<W>

fn write_image(self, unaligned_bytes: &[u8], width: u32, height: u32, color_type: ExtendedColorType) -> ImageResult<()>

Auto Trait Implementations

impl<W> Freeze for HdrEncoder<W> where W: Freeze,

impl<W> RefUnwindSafe for HdrEncoder<W> where W: RefUnwindSafe,

impl<W> Send for HdrEncoder<W> where W: Send,

impl<W> Sync for HdrEncoder<W> where W: Sync,

impl<W> Unpin for HdrEncoder<W> where W: Unpin,

impl<W> UnsafeUnpin for HdrEncoder<W> where W: UnsafeUnpin,

impl<W> UnwindSafe for HdrEncoder<W> where W: UnwindSafe,

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for HdrEncoder<W> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for HdrEncoder<W> where ST: ?Sized, DT: ?Sized,

impl<T> Any for HdrEncoder<W> where T: 'static + ?Sized,

impl<T> Borrow<T> for HdrEncoder<W> where T: ?Sized,

impl<T> BorrowMut<T> for HdrEncoder<W> where T: ?Sized,

impl<T> From<T> for HdrEncoder<W>

impl<T> IntoEither for HdrEncoder<W>

impl<T> Pointable for HdrEncoder<W>

impl<T> Read<Exclusive, BecauseExclusive> for HdrEncoder<W> where T: ?Sized,

impl<T, U> Into<U> for HdrEncoder<W> where U: From<T>,

impl<T, U> TryFrom<U> for HdrEncoder<W> where U: Into<T>,

impl<T, U> TryInto<U> for HdrEncoder<W> where U: TryFrom<T>,