mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
Stop support of Python 2.
This commit is contained in:
parent
f922905d10
commit
316d50b96f
2 changed files with 0 additions and 10 deletions
|
@ -30,11 +30,6 @@ from PIL import Image
|
||||||
|
|
||||||
from stegano import tools
|
from stegano import tools
|
||||||
|
|
||||||
try:
|
|
||||||
input = raw_input
|
|
||||||
except NameError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def hide(input_image_file, message, auto_convert_rgb=False):
|
def hide(input_image_file, message, auto_convert_rgb=False):
|
||||||
"""Hide a message (string) in an image with the
|
"""Hide a message (string) in an image with the
|
||||||
LSB (Least Significant Bit) technique.
|
LSB (Least Significant Bit) technique.
|
||||||
|
|
|
@ -32,11 +32,6 @@ from PIL import Image
|
||||||
from stegano import tools
|
from stegano import tools
|
||||||
from . import generators
|
from . import generators
|
||||||
|
|
||||||
try:
|
|
||||||
input = raw_input
|
|
||||||
except NameError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def hide(input_image_file, message, generator, auto_convert_rgb=False):
|
def hide(input_image_file, message, generator, auto_convert_rgb=False):
|
||||||
"""Hide a message (string) in an image with the
|
"""Hide a message (string) in an image with the
|
||||||
LSB (Least Significant Bit) technique.
|
LSB (Least Significant Bit) technique.
|
||||||
|
|
Loading…
Add table
Reference in a new issue