pub struct DngWriter<B>{
pub dng: TiffWriter<B>,
/* private fields */
}Fields§
§dng: TiffWriter<B>Implementations§
Source§impl<B> DngWriter<B>
impl<B> DngWriter<B>
pub fn new(buf: B, backward_version: [u8; 4]) -> Result<Self>
pub fn as_shot_neutral(&mut self, wb: impl AsRef<[Rational]>)
pub fn color_matrix( &mut self, slot: usize, illu: Illuminant, matrix: impl AsRef<[SRational]>, )
pub fn load_metadata(&mut self, metadata: &RawMetadata) -> Result<()>
pub fn xpacket(&mut self, xpacket: impl AsRef<[u8]>) -> Result<()>
pub fn close(self) -> Result<()>
pub fn original_file( &mut self, original: &OriginalCompressed, filename: impl AsRef<str>, ) -> Result<()>
pub fn subframe(&mut self, id: u32) -> SubFrameWriter<'_, B>
pub fn subframe_on_root(&mut self, id: u32) -> SubFrameWriter<'_, B>
Sourcepub fn thumbnail(&mut self, img: &DynamicImage) -> Result<()>
pub fn thumbnail(&mut self, img: &DynamicImage) -> Result<()>
Write thumbnail image into DNG
pub fn root_ifd(&mut self) -> &DirectoryWriter
pub fn root_ifd_mut(&mut self) -> &mut DirectoryWriter
pub fn exif_ifd(&mut self) -> &DirectoryWriter
pub fn exif_ifd_mut(&mut self) -> &mut DirectoryWriter
Auto Trait Implementations§
impl<B> Freeze for DngWriter<B>where
B: Freeze,
impl<B> RefUnwindSafe for DngWriter<B>where
B: RefUnwindSafe,
impl<B> Send for DngWriter<B>where
B: Send,
impl<B> Sync for DngWriter<B>where
B: Sync,
impl<B> Unpin for DngWriter<B>where
B: Unpin,
impl<B> UnsafeUnpin for DngWriter<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for DngWriter<B>where
B: 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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more