Introduces some type hints.

This commit is contained in:
Cédric Bonhomme 2017-03-09 08:11:12 +01:00
parent 3e923e49a8
commit 0da9d9882e
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
3 changed files with 25 additions and 29 deletions

View file

@ -30,7 +30,7 @@ from PIL import Image
from stegano import tools
def hide(input_image_file, message, auto_convert_rgb=False):
def hide(input_image_file: str, message, auto_convert_rgb: bool = False):
"""Hide a message (string) in an image with the
LSB (Least Significant Bit) technique.
"""