summaryrefslogtreecommitdiff
path: root/src/lossless
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2024-11-21 12:41:32 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2024-11-21 12:41:32 -0500
commitf0022c8d570d06d9c8d0c2dd68d931cb917cbef2 (patch)
treecb7f3a5e27f7c7157b8b8462ae81fca088512105 /src/lossless
parent6c94102afc70ce28eee3d17aad997a056aaf9195 (diff)
Thu Nov 21 12:41:32 PM EST 2024
Diffstat (limited to 'src/lossless')
-rw-r--r--src/lossless/lsb.rs2
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 {