From 1c568f609557e3c7a2eb797bd7735862c34c0cdf Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Thu, 29 Dec 2011 15:03:00 +0100 Subject: [PATCH] Updated README. --- INSTALL | 17 +++-------------- README | 16 +++++++++++----- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/INSTALL b/INSTALL index b45b638..832549a 100644 --- a/INSTALL +++ b/INSTALL @@ -4,25 +4,14 @@ Stéganô ======= -.. Use headers in this order #=~-_ - -:toc: yes -:symrefs: yes -:sortrefs: yes -:compact: yes -:subcompact: no -:rfcedstyle: no -:comments: no -:inline: yes -:private: yes - :author: Cédric Bonhomme :contact: http://cedricbonhomme.org/ Installation ------------ - $ python setup.py install + + $ sudo python setup.py install Now you will be able to use Stéganô in your Python program. @@ -37,4 +26,4 @@ For some operations Stéganô needs the Python Imaging Library (PIL): $ cd Imaging-1.1.7/ $ sudo python setup.py install $ cd .. - $ sudo rm -Rf Imaging-1.1.7/ \ No newline at end of file + $ sudo rm -Rf Imaging-1.1.7/ diff --git a/README b/README index 4e9479a..17c1563 100644 --- a/README +++ b/README @@ -21,11 +21,11 @@ If you want to use Stéganô in your Python program you just have to import the -from stegano import slsb + from stegano import slsb -secret = slsb.hide("./pictures/Lenna.png", "Bonjour tout le monde") + secret = slsb.hide("./pictures/Lenna.png", "Bonjour tout le monde") -secret.save("./Lenna-secret.png") + secret.save("./Lenna-secret.png") Use Stéganô as a program @@ -35,9 +35,15 @@ In addition you can use Stéganô as a program. Example: -~/stegano/$ sudo python setup.py install + ~/stegano/$ sudo python setup.py install -~/$ slsb --hide -i ../examples/pictures/Lenna.png -o Lena1.png -m "MessageBo" + ~/$ slsb --hide -i ../examples/pictures/Lenna.png -o Lena1.png -m "MessageBo" + + +Examples +-------- + +There are some examples in the foler *examples*. Turorial