We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dba3fa commit d114064Copy full SHA for d114064
IMAGES & PHOTO SCRIPTS/Image-Inverter/inverter.py
@@ -10,7 +10,7 @@ def main():
10
11
for file in sys.argv:
12
# TODO: add a check that the files are jpg
13
- file_name = os.path.splittext(file)
+ file_name = os.path.splitext(file)
14
with Image.open(file) as image:
15
inverted_image = ImageOps.invert(image)
16
inverted_image.save(filename + "_inverted", "JPEG")
0 commit comments