Task: Resize an Image Using PIL/Pillow While Maintaining Aspect Ratio
Task: Resize an Image Using PIL/Pillow While Maintaining Aspect Ratio: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that resizes an image to create a thumbnail while maintaining its original aspect ratio using the Pillow (PIL) library.
Part of PrimeIntellect/Terminal-Lego-15k.