@@ -119,10 +119,7 @@ Options:
119119Let's illustrate how to hide a file like ` README.md ` , inside an image ` Base.png ` and save it as ` README.png ` :
120120
121121``` sh
122- ❯ stegano hide \
123- --data README.md \
124- --in crates/stegano-core/tests/images/plain/carrier-image.png \
125- --out README.png
122+ ❯ stegano hide --data README.md --in resources/plain/carrier-iamge.png --out README.png
126123```
127124
128125The final result is then contained in the image ` README.png ` .
@@ -133,17 +130,26 @@ here I'm using the shorthand parameters (--data, -d), (--in, -i), (--out, -o)
133130
134131``` sh
135132❯ stegano hide \
136- -i crates/stegano-core/tests/images /plain/carrier-image.png \
133+ -i resources /plain/carrier-image.png \
137134 -d resources/secrets/Blah.txt \
138135 resources/secrets/Blah-2.txt \
139136 -o secret.png
140137```
141138
139+ * Hidden Feature* you can use a ` .jpg ` for input and save it as ` .png `
140+
141+ ``` sh
142+ ❯ stegano hide \
143+ -i resources/NoSecret.jpg \
144+ -d resources/secrets/Blah.txt \
145+ -o secret.png
146+ ```
147+
142148#### Example with an Audio WAV file
143149
144150``` sh
145151❯ stegano hide \
146- -i crates/stegano-core/tests/audio /plain/carrier-audio.wav \
152+ -i resources /plain/carrier-audio.wav \
147153 -d resources/secrets/Blah.txt \
148154 resources/secrets/Blah-2.txt \
149155 -o secret.wav
@@ -155,7 +161,7 @@ Now let's assume we want to hide just a little text message in `secret-text.png`
155161
156162``` sh
157163❯ stegano hide \
158- -i crates/stegano-core/tests/images/plain/carrier-image.png \
164+ -i resources/NoSecrets.jpg \
159165 -m ' This is a super secret message' \
160166 -o secret-text.png
161167```
@@ -202,14 +208,19 @@ This is a super secret message
202208
203209``` sh
204210❯ stegano unveil-raw --help
205- Usage: stegano unveil-raw [OPTIONS] --in < media source file> --out < output file>
211+ stegano-unveil-raw
212+ Unveils raw data in PNG images
206213
207- Options:
208- -p, --password < password> Password used to encrypt the data
209- -i, --in < media source file> Source media that contains secret data
210- -o, --out < output file> Raw data will be stored as binary file
211- -h, --help Print help
212- -V, --version Print version
214+ USAGE:
215+ stegano unveil-raw --in < image source file> --out < output file>
216+
217+ FLAGS:
218+ -h, --help Prints help information
219+ -V, --version Prints version information
220+
221+ OPTIONS:
222+ -i, --in < image source file> Source image that contains secret data
223+ -o, --out < output file> Raw data will be stored as binary file
213224```
214225
215226#### Example unveil raw data
0 commit comments