mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 11:16:14 +02:00
Introduces some type hints.
This commit is contained in:
parent
3e923e49a8
commit
0da9d9882e
3 changed files with 25 additions and 29 deletions
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue