ImageCompressorWithStructure
A Python script to compress images in a directory and its subdirectories, ensuring that the folder structure and image formats are preserved. Compressed images are saved in a specified target directory.
Features:
- Compress images to be under a specified size (default is 1 MB).
- Preserve original folder structure in the target directory.
- Maintain original image formats.