Trait windows::Win32::Graphics::Imaging::IWICBitmapEncoder_Impl
pub trait IWICBitmapEncoder_Impl: Sized {
// Required methods
fn Initialize(
&self,
pistream: Option<&IStream>,
cacheoption: WICBitmapEncoderCacheOption,
) -> Result<()>;
fn GetContainerFormat(&self) -> Result<GUID>;
fn GetEncoderInfo(&self) -> Result<IWICBitmapEncoderInfo>;
fn SetColorContexts(
&self,
ccount: u32,
ppicolorcontext: *const Option<IWICColorContext>,
) -> Result<()>;
fn SetPalette(&self, pipalette: Option<&IWICPalette>) -> Result<()>;
fn SetThumbnail(&self, pithumbnail: Option<&IWICBitmapSource>) -> Result<()>;
fn SetPreview(&self, pipreview: Option<&IWICBitmapSource>) -> Result<()>;
fn CreateNewFrame(
&self,
ppiframeencode: *mut Option<IWICBitmapFrameEncode>,
ppiencoderoptions: *mut Option<IPropertyBag2>,
) -> Result<()>;
fn Commit(&self) -> Result<()>;
fn GetMetadataQueryWriter(&self) -> Result<IWICMetadataQueryWriter>;
}
Required Methods§
fn Initialize( &self, pistream: Option<&IStream>, cacheoption: WICBitmapEncoderCacheOption, ) -> Result<()>
fn GetContainerFormat(&self) -> Result<GUID>
fn GetEncoderInfo(&self) -> Result<IWICBitmapEncoderInfo>
fn SetColorContexts( &self, ccount: u32, ppicolorcontext: *const Option<IWICColorContext>, ) -> Result<()>
fn SetPalette(&self, pipalette: Option<&IWICPalette>) -> Result<()>
fn SetThumbnail(&self, pithumbnail: Option<&IWICBitmapSource>) -> Result<()>
fn SetPreview(&self, pipreview: Option<&IWICBitmapSource>) -> Result<()>
fn CreateNewFrame( &self, ppiframeencode: *mut Option<IWICBitmapFrameEncode>, ppiencoderoptions: *mut Option<IPropertyBag2>, ) -> Result<()>
fn Commit(&self) -> Result<()>
fn GetMetadataQueryWriter(&self) -> Result<IWICMetadataQueryWriter>
Object Safety§
This trait is not object safe.