Create a script that resizes all images in a directory and saves the resized images in another existing directory.