pub struct HdrEncoder<W>where
W: Write,{ /* private fields */ }
Expand description
Radiance HDR encoder
Implementations§
Trait Implementations§
Source§impl<W> ImageEncoder for HdrEncoder<W>where
W: Write,
impl<W> ImageEncoder for HdrEncoder<W>where
W: Write,
Source§fn write_image(
self,
unaligned_bytes: &[u8],
width: u32,
height: u32,
color_type: ExtendedColorType,
) -> Result<(), ImageError>
fn write_image( self, unaligned_bytes: &[u8], width: u32, height: u32, color_type: ExtendedColorType, ) -> Result<(), ImageError>
Writes all the bytes in an image to the encoder. Read more
Source§fn set_icc_profile(
&mut self,
icc_profile: Vec<u8>,
) -> Result<(), UnsupportedError>
fn set_icc_profile( &mut self, icc_profile: Vec<u8>, ) -> Result<(), UnsupportedError>
Set the ICC profile to use for the image. Read more
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> UnwindSafe for HdrEncoder<W>where
W: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.