diff --git a/scripts/ImageCompressor/imageCompressor.py b/scripts/ImageCompressor/imageCompressor.py deleted file mode 100644 index 759f63d..0000000 --- a/scripts/ImageCompressor/imageCompressor.py +++ /dev/null @@ -1,16 +0,0 @@ -from PIL import Image -from tkinter.filedialog import * -import argparse - -def compressImage(filename): - img = Image.open(filename) - Height, Width = img.size - img = img.resize((Height,Width), Image.ANTIALIAS) - img.save("compressed-"+filename) - -if __name__ == "__main__": - parser = argparse.ArgumentParser() - parser.add_argument("img",type = str) - - args = parser.parse_args() - compressImage(args.img)