diff options
author | 2024-11-21 12:41:32 -0500 | |
---|---|---|
committer | 2024-11-21 12:41:32 -0500 | |
commit | f0022c8d570d06d9c8d0c2dd68d931cb917cbef2 (patch) | |
tree | cb7f3a5e27f7c7157b8b8462ae81fca088512105 /src/lossless | |
parent | 6c94102afc70ce28eee3d17aad997a056aaf9195 (diff) |
Thu Nov 21 12:41:32 PM EST 2024
Diffstat (limited to 'src/lossless')
-rw-r--r-- | src/lossless/lsb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lossless/lsb.rs b/src/lossless/lsb.rs index 1c9a213..5883fde 100644 --- a/src/lossless/lsb.rs +++ b/src/lossless/lsb.rs @@ -8,7 +8,7 @@ use crate::{codec::Codec, Error}; /// in an image. This implementation reduces the colors in the carrier (irreversibly) in order to /// allow a byte of data to fit in each pixel of the image. 3 bits of data are encoded per pixel, /// and the 9th bit is used to signal the end of data. -#[derive(Debug, Default)] +#[derive(Clone, Debug, Default)] pub struct LsbCodec; impl Codec for LsbCodec { |