square_img resize images with pading blank. just change the path as well as outputpath. the width and length of the processed images is noted, if you need this function, just activate it.