I want to do the following thing:
Get all the images in a directory (include the images in subdirectory), do something with them (for example: resize), then export these images to another directory with the same hierarchy.
For example:
I want to get images from input/flower/rose
, resize it and export to output, ask python to automatically create the hierarchy flower/rose
inside output.
How can I do that?