this code can resize pictures.
input:
- file path of picture folders (can be mixed landscape and portrait images)
- maximum edge length in pixels
output:
- resized images, width their original longest side now equal to given max lenght, and the other resized so that it fits
this code can rename pictures, right now as a very specific schema
you should check your file names and wanted names and make changes accordingly