Updated command line and README.

This commit is contained in:
Cédric Bonhomme 2017-05-05 23:35:27 +02:00
parent 2814f04f80
commit 1ce140d638
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
6 changed files with 16 additions and 10 deletions

View file

@ -71,7 +71,13 @@ Hide a message
.. code:: bash
$ lsb hide -i ./tests/sample-files/Lenna.png -m "Secret Message" -o Lena1.png
$ stegano-lsb hide -i ./tests/sample-files/Lenna.png -m "Secret Message" -o Lena1.png
Reveal the message
~~~~~~~~~~~~~~~~~~
$ stegano-lsb reveal -i Lena1.png
Secret Message
Hide the message with the Sieve of Eratosthenes
@ -79,7 +85,7 @@ Hide the message with the Sieve of Eratosthenes
.. code:: bash
$ lsb-set hide -i ./tests/sample-files/Lenna.png -m 'Secret Message' --generator eratosthenes -o Lena2.png
$ stegano-lsb-set hide -i ./tests/sample-files/Lenna.png -m 'Secret Message' --generator eratosthenes -o Lena2.png
The message will be scattered in the picture, following a set described by the
Sieve of Eratosthenes. Other sets are available. You can also use your own

View file

@ -32,7 +32,7 @@ except:
from stegano import tools
import argparse
parser = argparse.ArgumentParser(prog='lsb')
parser = argparse.ArgumentParser(prog='stegano-lsb')
subparsers = parser.add_subparsers(help='sub-command help', dest='command')
# Subparser: Hide

View file

@ -36,7 +36,7 @@ except:
from stegano import tools
import argparse
parser = argparse.ArgumentParser(prog='lsb-set')
parser = argparse.ArgumentParser(prog='stegano-lsb-set')
subparsers = parser.add_subparsers(help='sub-command help', dest='command')
# Subparser: Hide

View file

@ -32,7 +32,7 @@ except:
from PIL import Image
import argparse
parser = argparse.ArgumentParser(prog='steganalysis-parity')
parser = argparse.ArgumentParser(prog='stegano-steganalysis-parity')
parser.add_argument("-i", "--input", dest="input_image_file",
help="Image file")
parser.add_argument("-o", "--output", dest="output_image_file",

View file

@ -33,7 +33,7 @@ except:
from PIL import Image
import argparse
parser = argparse.ArgumentParser(prog='steganalysis-parity')
parser = argparse.ArgumentParser(prog='stegano-steganalysis-parity')
parser.add_argument("-i", "--input", dest="input_image_file",
help="Image file")
parser.add_argument("-o", "--output", dest="output_image_file",

View file

@ -20,11 +20,11 @@ packages = [
]
scripts = [
'bin/lsb',
'bin/lsb-set',
'bin/stegano-lsb',
'bin/stegano-lsb-set',
'bin/stegano-red',
'bin/steganalysis-parity',
'bin/steganalysis-statistics'
'bin/stegano-steganalysis-parity',
'bin/stegano-steganalysis-statistics'
]
requires = ['pillow', 'piexif', 'crayons']