Struct stegano_core::media::image::lsb_codec::CodecOptions
source · pub struct CodecOptions {
pub color_channel_step_increment: usize,
pub skip_alpha_channel: bool,
pub concealer: Concealer,
}
Fields§
§color_channel_step_increment: usize
would move the by step n each iteration, Note: the alpha channel is count as regular channel
skip_alpha_channel: bool
if true no alpha channel would be used for encoding
concealer: Concealer
the concealer strategy
Implementations§
source§impl CodecOptions
impl CodecOptions
pub fn get_color_channel_step_increment(&self) -> usize
pub fn get_skip_alpha_channel(&self) -> bool
Trait Implementations§
source§impl Debug for CodecOptions
impl Debug for CodecOptions
Auto Trait Implementations§
impl RefUnwindSafe for CodecOptions
impl Send for CodecOptions
impl Sync for CodecOptions
impl Unpin for CodecOptions
impl UnwindSafe for CodecOptions
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.