-
Download the dothat.py(windows) or dothatbetterforlinux.py file depending on your OS.
-
Pre-requisites:
a) PIL module
b) tinify module
* Note that with tinify module you need to have an API key, program is designed to ask for the API key, enter the correct tinify API key, if you don't have key, get it from here.
-
Enter your tinify API key.
-
Select a directory of images to manipulate.
-
A new directory named as newphotos is made, if it already exists, the same is used.
-
Wait for the files to be saved until a message pops on your screen.
-
The new images is saved in a folder called newphotos of the same directory from where the images were selected
-
The output file is highly compressed and of vertical length 400 and changed accoring to its ratio.
* Note that the program supports .png and .jpg extensions currently