mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-13 01:18:31 +02:00
Minor bugfix: import error.
This commit is contained in:
parent
98fe828ffb
commit
7a4dec5e73
1 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,8 @@ __version__ = "$Revision: 0.1 $"
|
||||||
__date__ = "$Date: 2010/10/01 $"
|
__date__ = "$Date: 2010/10/01 $"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
def hide(img, message):
|
def hide(img, message):
|
||||||
|
@ -103,4 +105,4 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
elif sys.argv[1] == "reveal":
|
elif sys.argv[1] == "reveal":
|
||||||
img = Image.open(options.input_image_file)
|
img = Image.open(options.input_image_file)
|
||||||
print reveal(img)
|
print reveal(img)
|
||||||
|
|
Loading…
Add table
Reference in a new issue