Write a script that resizes a batch of images to a specified resolution using the Pillow library.
Write a script that resizes a batch of images to a specified resolution using the Pillow library.