From f0022c8d570d06d9c8d0c2dd68d931cb917cbef2 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Thu, 21 Nov 2024 12:41:32 -0500 Subject: Thu Nov 21 12:41:32 PM EST 2024 --- src/lossless/lsb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lossless/lsb.rs') 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 { -- cgit v1.2.3