From a6d7a3c27411974069d7f1fcdcc0fc3afd1cf934 Mon Sep 17 00:00:00 2001 From: ptrvsrg Date: Sat, 7 Dec 2024 14:38:42 +0700 Subject: [PATCH] Add JPG and JPEG support --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index db27935..ac91fcf 100644 --- a/README.md +++ b/README.md @@ -97,13 +97,21 @@ OPTIONS: ```sh $ make test ? steganography/cmd/lsb [no test files] -=== RUN TestEncodeFromFile ---- PASS: TestEncodeFromFile (0.10s) -=== RUN TestDecodeFromFile ---- PASS: TestDecodeFromFile (0.02s) +? steganography/internal/helper [no test files] +=== RUN TestEncodeFromPngFile +--- PASS: TestEncodeFromPngFile (0.11s) +=== RUN TestDecodeFromPngFile +--- PASS: TestDecodeFromPngFile (0.02s) +=== RUN TestEncodeFromJpgFile +--- PASS: TestEncodeFromJpgFile (0.04s) +=== RUN TestDecodeFromJpgFile +--- PASS: TestDecodeFromJpgFile (0.01s) +=== RUN TestEncodeFromJpegFile +--- PASS: TestEncodeFromJpegFile (0.01s) +=== RUN TestDecodeFromJpegFile +--- PASS: TestDecodeFromJpegFile (0.00s) PASS -ok steganography/internal/lsb 0.481s - show help +ok steganography/internal/lsb 0.668s ``` ## License