Skip to content

Commit fd4141f

Browse files
committed
Get Image Metadata - Documentation review
1 parent 49577ca commit fd4141f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Image Steganography/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ What the program does?
88

99

1010
### Requirements
11-
Python3.6+
11+
>Python3.6+
12+
>
1213
> pip install -r requirements.txt
1314
1415

@@ -20,7 +21,7 @@ STEGANOGRAPHY IN IMAGES
2021
2122
optional arguments:
2223
-h, --help show this help message and exit
23-
-f FILES [FILES ...] Image File
24+
-f FILES [FILES ...] Image File(s)
2425
-e ENCODE Encode The Text In Image
2526
-d Decode The Text In Image
2627

Image Steganography/image.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
def encode(file, text):
9-
# Open Image or file in which you want to hide your data
9+
# Open image or file in which you want to hide your data
1010
image = Image.open(file)
1111

1212
# Convert the string to bytes
@@ -26,7 +26,7 @@ def encode(file, text):
2626

2727

2828
def decode(path):
29-
# Open Image or file in which data exists
29+
# Open image or file in which data exists
3030
image = Image.open(path)
3131

3232
# Decode the image to extract the text
@@ -39,8 +39,8 @@ def decode(path):
3939
def main():
4040
parser = argparse.ArgumentParser(description='STEGANOGRAPHY IN IMAGES')
4141

42-
# Argument is for images to encode/decode
43-
parser.add_argument('-f', dest='files', nargs='+', type=str, help='Image File', required=True)
42+
# Argument is for image(s) to encode/decode
43+
parser.add_argument('-f', dest='files', nargs='+', type=str, help='Image File(s)', required=True)
4444

4545
# Argument is to encode in the image
4646
parser.add_argument('-e', dest='encode', type=str, help='Encode The Text In Image')

0 commit comments

Comments
 (0)