Skip to content

Commit d7a367d

Browse files
committed
Adde requirements file and fixed a typo on 'img_comp' file.
1 parent d837f84 commit d7a367d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Compress Image/img_comp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from PIL import Image
22

33
def compress_image(default_image=Image.open('original_image.jpg')):
4-
''' Takes an image file and compress it with losing image quality. '''
4+
''' Takes an image file and compress it without losing image quality. '''
55

66
''' If no image file is provided, the default image will be compressed '''
77

Compress Image/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Pillow==8.2.0

0 commit comments

Comments
 (0)